Méthode | Description | |
---|---|---|
InMenus ( |
||
Initialize ( ) : void |
Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
|
|
Update ( |
Allows the game component to update itself.
|
Méthode | Description | |
---|---|---|
ProcessKeyboardInput ( |
Handles keyboard input common to every menu.
|
|
ProcessMouseInput ( |
Handles mouse input common to every menu.
|
Méthode | Description | |
---|---|---|
SetCurrentMenu ( ) : void |
Adds the current menu to the component collection.
|
|
SwitchToMenu ( Menus menu ) : void |
public InMenus ( |
||
game | ||
Résultat | System |
protected ProcessKeyboardInput ( |
||
gameTime | ||
Résultat | void |
protected ProcessMouseInput ( |
||
gameTime | ||
Résultat | void |
public Update ( |
||
gameTime | Provides a snapshot of timing values. | |
Résultat | void |