Méthode | Description | |
---|---|---|
close ( ) : void | ||
confirm ( ) : void | ||
draw ( |
||
goBack ( ) : void | ||
init ( ) : void |
Initializes all the menu panels and links them togther. Call this in the Game's create cycle. Lots of hard coding here! - we'll have to adjust it if the game's viewport size changes.
|
|
isExiting ( ) : bool | ||
isOpen ( ) : bool | ||
loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
moveCursor ( Direction dir ) : void | ||
open ( ) : void | ||
pushActivePanel ( |
||
refreshPanelLists ( ) : void | ||
reset ( ) : void |
We'll need a cleaner method later of resetting the game.
|
|
sendOneKeyInput ( Keys key ) : bool |
Used for changing key controls
|
|
update ( float elapsed ) : void |
Méthode | Description | |
---|---|---|
nullCheck ( ) : void | ||
popIn ( ) : void | ||
popOut ( ) : void |
public static draw ( |
||
sb | ||
Résultat | void |
public static loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
Résultat | void |
public static moveCursor ( Direction dir ) : void | ||
dir | Direction | |
Résultat | void |
public static pushActivePanel ( |
||
panel | ||
Résultat | void |
public static sendOneKeyInput ( Keys key ) : bool | ||
key | Keys | |
Résultat | bool |
public static update ( float elapsed ) : void | ||
elapsed | float | |
Résultat | void |