Method | Description | |
---|---|---|
Draw ( |
Allows the game component to draw itself.
|
|
MainMenu ( |
||
Update ( |
Allows the game component to update itself.
|
Method | Description | |
---|---|---|
LoadContent ( ) : void |
Called when graphics resources need to be loaded. Override this method to load any component-specific graphics resources.
|
|
ProcessKeyboardInput ( |
Handles keyboard input.
|
|
ProcessMouseInput ( |
Handles mouse input.
|
public Draw ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |
public MainMenu ( |
||
game | ||
gameState | ||
return | System |
protected ProcessKeyboardInput ( |
||
gameTime | ||
return | void |
protected ProcessMouseInput ( |
||
gameTime | ||
return | void |
public Update ( |
||
gameTime | Provides a snapshot of timing values. | |
return | void |