Свойство | Type | Description | |
---|---|---|---|
name | string | ||
screenManager | |||
status | ScreenStatus |
Méthode | Description | |
---|---|---|
Draw ( |
Function that contains code to draw the current screen state
|
|
ExitScreen ( ) : void | ||
HandleInput ( |
Handles input logic
|
|
LoadContent ( ) : void | ||
ResetRenderStates ( ) : void |
Reset the render states so spritebatch and models render correctly
|
|
Screen ( string name ) : System |
Constructor that creates a screen base class
|
|
SetStatus ( ScreenStatus status ) : void |
Sets the current screen display status
|
|
UnloadContent ( ) : void | ||
Update ( |
Function that contains code that will update the screen
|
public Draw ( |
||
gameTime | Contains timer information | |
Résultat | void |
public HandleInput ( |
||
input | The input manager for the game | |
Résultat | void |
public Screen ( string name ) : System | ||
name | string | This should be a unique way to identify each screen |
Résultat | System |
public SetStatus ( ScreenStatus status ) : void | ||
status | ScreenStatus | Current screen status |
Résultat | void |
public Update ( |
||
gameTime | Contains timer information | |
Résultat | void |
protected ScreenManager,UHSampleGame.ScreenManagement screenManager | ||
Résultat |