C# Class SpaceShipDemo.AsteroidManager

Inheritance: Behavior
Afficher le fichier Open project: WaveEngine/Series

Private Properties

Свойство Type Description
CreateAsteroid System.Entity
CreateAsteroids System.Entity
CreateAsteroids void
GameOver void
ShowAsteroid void

Méthodes publiques

Méthode Description
AsteroidManager ( ) : System

Initializes a new instance of the AsteroidManager class.

Reset ( ) : void

Resets the asteroid field.

Méthodes protégées

Méthode Description
Initialize ( ) : void

Initializes this instance.

Update ( System.TimeSpan gameTime ) : void

Updates the specified game time.

Private Methods

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

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

Initialize() protected méthode

Initializes this instance.
protected Initialize ( ) : void
Résultat void

Reset() public méthode

Resets the asteroid field.
public Reset ( ) : void
Résultat void

Update() protected méthode

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