C# Class RTS.Default.Worker.Action

Inheritance: ACUnitActionController
Afficher le fichier Open project: RegrowthStudios/VoxelRTS

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ApplyAction() public méthode

public ApplyAction ( GameState g, float dt ) : void
g RTSEngine.Data.GameState
dt float
Résultat void

DecideAction() public méthode

public DecideAction ( GameState g, float dt ) : void
g RTSEngine.Data.GameState
dt float
Résultat void

Deserialize() public méthode

public Deserialize ( System s ) : void
s System
Résultat void

Init() public méthode

public Init ( RTSEngine s, RTSEngine c, object args ) : void
s RTSEngine
c RTSEngine
args object
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

Serialize() public méthode

public Serialize ( System s ) : void
s System
Résultat void

SetUnit() public méthode

public SetUnit ( RTSUnit u ) : void
u RTSEngine.Data.Team.RTSUnit
Résultat void