Method | Description | |
---|---|---|
Activate ( bool instancePreserved ) : void |
Load graphics content for the game.
|
|
Deactivate ( ) : void | ||
Draw ( |
Draws the gameplay screen.
|
|
GameplayScreen ( ) : System |
Constructor.
|
|
HandleInput ( |
Lets the game respond to player input. Unlike the Update method, this will only be called when the gameplay screen is active.
|
|
Unload ( ) : void |
Unload graphics content used by the game.
|
|
Update ( |
Updates the state of the game. This method checks the GameScreen.IsActive property, so the game will stop updating when the pause menu is active, or if you tab away to a different application.
|
public Activate ( bool instancePreserved ) : void | ||
instancePreserved | bool | |
return | void |
public Draw ( |
||
gameTime | ||
return | void |
public HandleInput ( |
||
gameTime | ||
input | ||
return | void |
public Update ( |
||
gameTime | ||
otherScreenHasFocus | bool | |
coveredByOtherScreen | bool | |
return | void |