C# 클래스 SimpleSoccer.Net.PlayerBase

상속: MovingEntity, IDisposable
파일 보기 프로젝트 열기: soshimozi/SimpleSoccer.Net 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_steeringBehaviors SteeringBehaviors
_vecPlayerVB List

공개 메소드들

메소드 설명
Dispose ( ) : void
FindSupport ( ) : void
IsThreatened ( ) : bool
PlayerBase ( SoccerTeam homeTeam, int homeRegionIndex, Vector2D heading, Vector2D velocity, double mass, double maxForce, double maxSpeed, double maxTurnRate, double scale, PlayerRoles role ) : System
SetDefaultHomeRegion ( ) : void
SetKickoffRegion ( ) : void
SortByDistanceToOpponentsGoal ( PlayerBase p1, PlayerBase p2 ) : bool
SortByReversedDistanceToOpponentsGoal ( PlayerBase p1, PlayerBase p2 ) : bool
TrackBall ( ) : void
TrackTarget ( ) : void

비공개 메소드들

메소드 설명
IsPositionInFrontOfPlayer ( Vector2D position ) : bool

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FindSupport() 공개 메소드

public FindSupport ( ) : void
리턴 void

IsThreatened() 공개 메소드

public IsThreatened ( ) : bool
리턴 bool

PlayerBase() 공개 메소드

public PlayerBase ( SoccerTeam homeTeam, int homeRegionIndex, Vector2D heading, Vector2D velocity, double mass, double maxForce, double maxSpeed, double maxTurnRate, double scale, PlayerRoles role ) : System
homeTeam SoccerTeam
homeRegionIndex int
heading Vector2D
velocity Vector2D
mass double
maxForce double
maxSpeed double
maxTurnRate double
scale double
role PlayerRoles
리턴 System

SetDefaultHomeRegion() 공개 메소드

public SetDefaultHomeRegion ( ) : void
리턴 void

SetKickoffRegion() 공개 메소드

public SetKickoffRegion ( ) : void
리턴 void

SortByDistanceToOpponentsGoal() 공개 메소드

public SortByDistanceToOpponentsGoal ( PlayerBase p1, PlayerBase p2 ) : bool
p1 PlayerBase
p2 PlayerBase
리턴 bool

SortByReversedDistanceToOpponentsGoal() 공개 메소드

public SortByReversedDistanceToOpponentsGoal ( PlayerBase p1, PlayerBase p2 ) : bool
p1 PlayerBase
p2 PlayerBase
리턴 bool

TrackBall() 공개 메소드

public TrackBall ( ) : void
리턴 void

TrackTarget() 공개 메소드

public TrackTarget ( ) : void
리턴 void

프로퍼티 상세

_steeringBehaviors 보호되어 있는 프로퍼티

Steering behavior manager
protected SteeringBehaviors,SimpleSoccer.Net _steeringBehaviors
리턴 SteeringBehaviors

_vecPlayerVB 보호되어 있는 프로퍼티

The vertex buffer
protected List _vecPlayerVB
리턴 List