C# Class WaveEngine.Components.GameActions.GameActionUpdaterBehavior

Behavior that updates the game action
Inheritance: Behavior
Exibir arquivo Open project: WaveEngine/Components Class Usage Examples

Public Methods

Method Description
GameActionUpdaterBehavior ( ) : System

Initializes a new instance of the GameActionUpdaterBehavior class.

Protected Methods

Method Description
Update ( System.TimeSpan gameTime ) : void

Updates the instance of the behavior

Private Methods

Method Description
BeginAction ( UpdatableGameAction gameAction ) : void

Begins the action

StopAction ( UpdatableGameAction gameAction ) : void

Stops the game action

Method Details

GameActionUpdaterBehavior() public method

Initializes a new instance of the GameActionUpdaterBehavior class.
public GameActionUpdaterBehavior ( ) : System
return System

Update() protected method

Updates the instance of the behavior
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan Ellapsed time
return void