C# Class SurvivorNinja.Behaviors.BulletBehavior

Inheritance: Behavior
Show file Open project: WaveEngine/QuickStarters

Public Methods

Method Description
BulletBehavior ( SurvivorNinja.Entities.Bullet bullet ) : System

Initializes a new instance of the BulletBehavior class.

Protected Methods

Method Description
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

BulletBehavior() public method

Initializes a new instance of the BulletBehavior class.
public BulletBehavior ( SurvivorNinja.Entities.Bullet bullet ) : System
bullet SurvivorNinja.Entities.Bullet The bullet.
return System

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