C# 클래스 RTS.Default.Worker.Action

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

공개 메소드들

메소드 설명
ApplyAction ( GameState g, float dt ) : void
DecideAction ( GameState g, float dt ) : void
Deserialize ( System s ) : void
Init ( RTSEngine s, RTSEngine c, object args ) : void
Reset ( ) : void
Serialize ( System s ) : void
SetUnit ( RTSUnit u ) : void

비공개 메소드들

메소드 설명
ASDeposit ( GameState g, float dt ) : void
ASRest ( GameState g, float dt ) : void
ApplyWorkerAction ( GameState g, float dt ) : void
DSChaseTarget ( GameState g, float dt ) : void
DSHarvest ( GameState g, float dt ) : void
DSMain ( GameState g, float dt ) : void
DecideWorkerAction ( GameState g, float dt ) : void
GetClosestDepository ( ) : RTSBuilding
GetClosestResource ( GameState g ) : RTSBuilding
SetState ( int state ) : void

메소드 상세

ApplyAction() 공개 메소드

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

DecideAction() 공개 메소드

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

Deserialize() 공개 메소드

public Deserialize ( System s ) : void
s System
리턴 void

Init() 공개 메소드

public Init ( RTSEngine s, RTSEngine c, object args ) : void
s RTSEngine
c RTSEngine
args object
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Serialize() 공개 메소드

public Serialize ( System s ) : void
s System
리턴 void

SetUnit() 공개 메소드

public SetUnit ( RTSUnit u ) : void
u RTSEngine.Data.Team.RTSUnit
리턴 void