C# Class RTS.Mech.Animation

Inheritance: ACUnitAnimationController
Exibir arquivo Open project: RegrowthStudios/VoxelRTS

Public Methods

Method Description
Animation ( ) : System
Deserialize ( BinaryReader s ) : void
Init ( GameState s, GameplayController c, object args ) : void
Serialize ( BinaryWriter s ) : void
SetUnit ( RTSUnit u ) : void
Update ( GameState s, float dt ) : void

Private Methods

Method Description
SetAnimation ( int state ) : void
unit_OnAttackMade ( ICombatEntity arg1, IEntity arg2 ) : void

Method Details

Animation() public method

public Animation ( ) : System
return System

Deserialize() public method

public Deserialize ( BinaryReader s ) : void
s System.IO.BinaryReader
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

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

Update() public method

public Update ( GameState s, float dt ) : void
s RTSEngine.Data.GameState
dt float
return void