C# Class SurvivorNinja.Behaviors.PlayerBehavior

Inheritance: Behavior
Show file Open project: WaveEngine/QuickStarters Class Usage Examples

Public Methods

Method Description
PlayerBehavior ( ) : System

Initializes a new instance of the PlayerBehavior class.

Reset ( ) : void

Reset the player

Protected Methods

Method Description
DefaultValues ( ) : void

Sets the default values

Initialize ( ) : void
ResolveDependencies ( ) : void

Resolves the dependencies needed for this instance to work.

Update ( System.TimeSpan gameTime ) : void

Allows this instance to execute custom logic during its Update.

This method will not be executed if the T:WaveEngine.Framework.Component, or the T:WaveEngine.Framework.Entity owning it are not Active.

Method Details

DefaultValues() protected method

Sets the default values
protected DefaultValues ( ) : void
return void

Initialize() protected method

protected Initialize ( ) : void
return void

PlayerBehavior() public method

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

Reset() public method

Reset the player
public Reset ( ) : void
return void

ResolveDependencies() protected method

Resolves the dependencies needed for this instance to work.
protected ResolveDependencies ( ) : void
return void

Update() protected method

Allows this instance to execute custom logic during its Update.
This method will not be executed if the T:WaveEngine.Framework.Component, or the T:WaveEngine.Framework.Entity owning it are not Active.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
return void