C# Class RTSEngine.Controllers.EnemyBuildingUpdater

Inheritance: RTSEngine.Algorithms.ACBudgetedTask
Exibir arquivo Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Private Properties

Property Type Description
OnBuildingDeath void

Public Methods

Method Description
Deserialize ( BinaryReader s, GameState state ) : EnemyBuildingUpdater
DoWork ( float dt ) : void
EnemyBuildingUpdater ( GameState s, int tIndex, ViewedBuilding _vb, RTSBuilding b ) : System
Serialize ( BinaryWriter s, EnemyBuildingUpdater t ) : void

Private Methods

Method Description
OnBuildingDeath ( IEntity o ) : void

Method Details

Deserialize() public static method

public static Deserialize ( BinaryReader s, GameState state ) : EnemyBuildingUpdater
s System.IO.BinaryReader
state RTSEngine.Data.GameState
return EnemyBuildingUpdater

DoWork() public method

public DoWork ( float dt ) : void
dt float
return void

EnemyBuildingUpdater() public method

public EnemyBuildingUpdater ( GameState s, int tIndex, ViewedBuilding _vb, RTSBuilding b ) : System
s RTSEngine.Data.GameState
tIndex int
_vb RTSEngine.Data.Team.ViewedBuilding
b RTSEngine.Data.Team.RTSBuilding
return System

Serialize() public static method

public static Serialize ( BinaryWriter s, EnemyBuildingUpdater t ) : void
s System.IO.BinaryWriter
t EnemyBuildingUpdater
return void