C# Class RTS.Default.Unit.Action

Inheritance: ACUnitActionController
Mostrar archivo Open project: RegrowthStudios/VoxelRTS

Public Methods

Method Description
ApplyAction ( GameState g, float dt ) : void
DecideAction ( GameState g, float dt ) : void
Deserialize ( BinaryReader s ) : void
FindTarget ( GameState g, float dt ) : void
Init ( GameState s, GameplayController c, object args ) : void
Reset ( ) : void
Serialize ( BinaryWriter s ) : void
SetUnit ( RTSUnit u ) : void

Private Methods

Method Description
ASCombatMelee ( GameState g, float dt ) : void
ASCombatRanged ( GameState g, float dt ) : void
ASPrepareCombatRanged ( GameState g, float dt ) : void
ASRest ( GameState g, float dt ) : void
DSChaseTarget ( GameState g, float dt, bool allowChase ) : void
DSCombatMelee ( GameState g, float dt ) : void
DSCombatRanged ( GameState g, float dt ) : void
DSMain ( GameState g, float dt ) : void
DSPassiveTarget ( GameState g, float dt ) : void
DSPrepareCombatRanged ( GameState g, float dt ) : void
SetState ( int state ) : void

Method Details

ApplyAction() public method

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

DecideAction() public method

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

Deserialize() public method

public Deserialize ( BinaryReader s ) : void
s System.IO.BinaryReader
return void

FindTarget() public method

public FindTarget ( GameState g, float dt ) : void
g RTSEngine.Data.GameState
dt float
return void

Init() public method

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

Reset() public method

public Reset ( ) : void
return void

Serialize() public method

public Serialize ( BinaryWriter s ) : void
s System.IO.BinaryWriter
return void

SetUnit() public method

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