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
Show file Open project: mahmoudbahaa/XNA-Game-project Class Usage Examples

Public Methods

Method 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 method

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

LevelScreen() public method

public LevelScreen ( MyGame game ) : System
game MyGame
return System

Update() public method

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