C# Class SurvivorNinja.Components.EnemyEmitter

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

Public Methods

Method Description
AddEnemy ( System.Vector2 position ) : void

Adds the enemy.

Reset ( ) : void

Resets this instance.

Protected Methods

Method Description
DefaultValues ( ) : void
Initialize ( ) : void
Update ( System.TimeSpan gameTime ) : void

Private Methods

Method Description
InitEnemyPool ( ) : void

Init enemy pool

SpawnEnemy ( ) : void

Spawn a new enemy

Method Details

AddEnemy() public method

Adds the enemy.
public AddEnemy ( System.Vector2 position ) : void
position System.Vector2 The position.
return void

DefaultValues() protected method

protected DefaultValues ( ) : void
return void

Initialize() protected method

protected Initialize ( ) : void
return void

Reset() public method

Resets this instance.
public Reset ( ) : void
return void

Update() protected method

protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan
return void