Свойство | Type | Description | |
---|---|---|---|
DefaultAlignment | Alignment |
Méthode | 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 |
Méthode | 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 | |
Résultat |
public AddMenuLabel ( string text, Microsoft.Xna.Framework.Graphics.Texture2D background, Color textColor ) : |
||
text | string | |
background | Microsoft.Xna.Framework.Graphics.Texture2D | |
textColor | Color | |
Résultat |
public HandleInput ( InputState input ) : void | ||
input | InputState | |
Résultat | void |
public MenuScreen ( string title ) : System | ||
title | string | |
Résultat | System |
protected OnCancel ( object sender, |
||
sender | object | |
args | ||
Résultat | void |
protected OnSelectEntry ( int entryIndex, PlayerIndex playerIndex ) : void | ||
entryIndex | int | |
playerIndex | PlayerIndex | |
Résultat | void |
public Update ( Microsoft gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void | ||
gameTime | Microsoft | |
otherScreenHasFocus | bool | |
coveredByOtherScreen | bool | |
Résultat | void |