C# 클래스 RTS.Default.Unit.Movement

상속: ACUnitMovementController
파일 보기 프로젝트 열기: RegrowthStudios/VoxelRTS

공개 메소드들

메소드 설명
AddToHistory ( Vector2 location ) : void
ApplyMove ( GameState g, float dt ) : void
DecideMove ( GameState g, float dt ) : void
Deserialize ( BinaryReader s ) : void
Init ( GameState s, GameplayController c, object args ) : void
Serialize ( BinaryWriter s ) : void
UnitForce ( Vector2 a, Vector2 b ) : Vector2

비공개 메소드들

메소드 설명
CoastIsClear ( Vector2 a, Vector2 b, float stepSize, float radius, CollisionGrid cg ) : bool
SetNetForceAndWaypoint ( GameState g ) : void

메소드 상세

AddToHistory() 공개 메소드

public AddToHistory ( Vector2 location ) : void
location Vector2
리턴 void

ApplyMove() 공개 메소드

public ApplyMove ( GameState g, float dt ) : void
g RTSEngine.Data.GameState
dt float
리턴 void

DecideMove() 공개 메소드

public DecideMove ( GameState g, float dt ) : void
g RTSEngine.Data.GameState
dt float
리턴 void

Deserialize() 공개 메소드

public Deserialize ( BinaryReader s ) : void
s System.IO.BinaryReader
리턴 void

Init() 공개 메소드

public Init ( GameState s, GameplayController c, object args ) : void
s RTSEngine.Data.GameState
c RTSEngine.Controllers.GameplayController
args object
리턴 void

Serialize() 공개 메소드

public Serialize ( BinaryWriter s ) : void
s System.IO.BinaryWriter
리턴 void

UnitForce() 공개 메소드

public UnitForce ( Vector2 a, Vector2 b ) : Vector2
a Vector2
b Vector2
리턴 Vector2