C# Class Cyclyc.Framework.EnemyPool

Show file Open project: JoeOsborn/Cyclyc Class Usage Examples

Protected Properties

Property Type Description
enemies List

Public Methods

Method Description
Collide ( CycSprite sprite ) : List
CollidePool ( EnemyPool pool ) : List
Draw ( GameTime gameTime ) : void
EnemyOffScreen ( CycSprite e ) : void
EnemyPool ( CycGame g ) : System
FindOrMakeEnemy ( ) : CycSprite
MakeEnemy ( ) : CycSprite
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
FindFreeEnemy ( ) : CycSprite

Method Details

Collide() public method

public Collide ( CycSprite sprite ) : List
sprite CycSprite
return List

CollidePool() public method

public CollidePool ( EnemyPool pool ) : List
pool EnemyPool
return List

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

EnemyOffScreen() public method

public EnemyOffScreen ( CycSprite e ) : void
e CycSprite
return void

EnemyPool() public method

public EnemyPool ( CycGame g ) : System
g CycGame
return System

FindFreeEnemy() protected method

protected FindFreeEnemy ( ) : CycSprite
return CycSprite

FindOrMakeEnemy() public method

public FindOrMakeEnemy ( ) : CycSprite
return CycSprite

MakeEnemy() public method

public MakeEnemy ( ) : CycSprite
return CycSprite

Update() public method

public Update ( GameTime gameTime ) : void
gameTime GameTime
return void

Property Details

enemies protected property

protected List enemies
return List