C# Class RTS.Default.Unit.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 ( 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

Méthode 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 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 ( BinaryReader s ) : void
s System.IO.BinaryReader
Résultat void

FindTarget() public méthode

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

Init() public méthode

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

Reset() public méthode

public Reset ( ) : void
Résultat void

Serialize() public méthode

public Serialize ( BinaryWriter s ) : void
s System.IO.BinaryWriter
Résultat void

SetUnit() public méthode

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