C# Class SurvivorNinja.Behaviors.PlayerBehavior

Inheritance: Behavior
Afficher le fichier Open project: WaveEngine/QuickStarters Class Usage Examples

Méthodes publiques

Méthode Description
PlayerBehavior ( ) : System

Initializes a new instance of the PlayerBehavior class.

Reset ( ) : void

Reset the player

Méthodes protégées

Méthode 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 méthode

Sets the default values
protected DefaultValues ( ) : void
Résultat void

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

PlayerBehavior() public méthode

Initializes a new instance of the PlayerBehavior class.
public PlayerBehavior ( ) : System
Résultat System

Reset() public méthode

Reset the player
public Reset ( ) : void
Résultat void

ResolveDependencies() protected méthode

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

Update() protected méthode

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.
Résultat void