C# Class MyGame.LevelScreen

This class represent the Level Screen that is displayed at the beginning of each level showing the level number and waiting on input from the user to start the actual level.
Inheritance: Screen
Afficher le fichier Open project: mahmoudbahaa/XNA-Game-project Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void

This method renders the current state.

LevelScreen ( MyGame game ) : System
Update ( GameTime gameTime ) : void

Allows the game component to update itself.

Method Details

Draw() public méthode

This method renders the current state.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The elapsed game time.
Résultat void

LevelScreen() public méthode

public LevelScreen ( MyGame game ) : System
game MyGame
Résultat System

Update() public méthode

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
Résultat void