Property | Type | Description | |
---|---|---|---|
DefaultAlignment | Alignment |
Method | Description | |
---|---|---|
AddMenuEntry ( string text, Microsoft.Xna.Framework.Graphics.Texture2D background, EventHandler |
||
AddMenuLabel ( string text, Microsoft.Xna.Framework.Graphics.Texture2D background, Color textColor ) : |
||
Draw ( Microsoft gameTime ) : void | ||
HandleInput ( InputState input ) : void | ||
LoadContent ( ) : void | ||
MenuScreen ( string title ) : System | ||
UnloadContent ( ) : void | ||
Update ( Microsoft gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void |
Method | Description | |
---|---|---|
OnCancel ( object sender, |
Handler for when the user has cancelled the menu.
|
|
OnSelectEntry ( int entryIndex, PlayerIndex playerIndex ) : void |
Handler for when the user has chosen a menu entry.
|
public AddMenuEntry ( string text, Microsoft.Xna.Framework.Graphics.Texture2D background, EventHandler |
||
text | string | |
background | Microsoft.Xna.Framework.Graphics.Texture2D | |
selected | EventHandler |
|
inherit | bool | |
return |
public AddMenuLabel ( string text, Microsoft.Xna.Framework.Graphics.Texture2D background, Color textColor ) : |
||
text | string | |
background | Microsoft.Xna.Framework.Graphics.Texture2D | |
textColor | Color | |
return |
public HandleInput ( InputState input ) : void | ||
input | InputState | |
return | void |
protected OnCancel ( object sender, |
||
sender | object | |
args | ||
return | void |
protected OnSelectEntry ( int entryIndex, PlayerIndex playerIndex ) : void | ||
entryIndex | int | |
playerIndex | PlayerIndex | |
return | void |
public Update ( Microsoft gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void | ||
gameTime | Microsoft | |
otherScreenHasFocus | bool | |
coveredByOtherScreen | bool | |
return | void |