C# Class Project290.Screens.GameScreen

This is a Screen specific for a game (as opposed to title or pause screen).
Inheritance: Screen
Show file Open project: scastle/Solitude

Public Methods

Method Description
GameScreen ( int scoreboardIndex ) : System

Initializes a new instance of the GameScreen class.

Private Methods

Method Description
GameOver ( ) : void

Call this method to end the game.

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.

SaveScore ( ) : void

Saves the player's score. This is async.

Method Details

GameScreen() public method

Initializes a new instance of the GameScreen class.
public GameScreen ( int scoreboardIndex ) : System
scoreboardIndex int
return System