C# Class MyGame.HelpScreen

This class represent the Help Screen that show some info on how to play the game
Inheritance: Screen
显示文件 Open project: mahmoudbahaa/XNA-Game-project Class Usage Examples

Public Methods

Method Description
Draw ( GameTime gameTime ) : void

This method renders the current state.

HelpScreen ( 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

HelpScreen() public method

public HelpScreen ( 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