C# Class Project290.Games.StupidGame.StupidGameScreen

The screen for the stupid game. This is where all the action happens.
Inheritance: Project290.Screens.GameScreen
显示文件 Open project: scastle/Solitude

Public Methods

Method Description
Draw ( ) : void

Draws this instance.

StupidGameScreen ( int scoreboardIndex ) : System

Initializes a new instance of the StupidGameScreen class.

Update ( ) : void

Updates this instance.

Private Methods

Method Description
Reset ( ) : void

Resets this instance. This will be called when a new game is played. Reset all of your objects here so that you do not need to reallocate the memory for them.

Method Details

Draw() public method

Draws this instance.
public Draw ( ) : void
return void

StupidGameScreen() public method

Initializes a new instance of the StupidGameScreen class.
public StupidGameScreen ( int scoreboardIndex ) : System
scoreboardIndex int The game-specific index into the scoreboard.
return System

Update() public method

Updates this instance.
public Update ( ) : void
return void