C# Class SpaceShipDemo.AsteroidManager

Inheritance: Behavior
ファイルを表示 Open project: WaveEngine/Series

Private Properties

Property Type Description
CreateAsteroid System.Entity
CreateAsteroids System.Entity
CreateAsteroids void
GameOver void
ShowAsteroid void

Public Methods

Method Description
AsteroidManager ( ) : System

Initializes a new instance of the AsteroidManager class.

Reset ( ) : void

Resets the asteroid field.

Protected Methods

Method Description
Initialize ( ) : void

Initializes this instance.

Update ( System.TimeSpan gameTime ) : void

Updates the specified game time.

Private Methods

Method Description
CreateAsteroid ( int i ) : System.Entity

Creates the asteroid.

CreateAsteroids ( int i ) : System.Entity
CreateAsteroids ( ) : void

Creates the asteroids.

GameOver ( ) : void

Game over event.

ShowAsteroid ( ) : void

Shows the next asteroid.

Method Details

AsteroidManager() public method

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

Initialize() protected method

Initializes this instance.
protected Initialize ( ) : void
return void

Reset() public method

Resets the asteroid field.
public Reset ( ) : void
return void

Update() protected method

Updates the specified game time.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
return void