Свойство | Тип | Описание | |
---|---|---|---|
DefaultAlignment | Alignment |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат |
public AddMenuLabel ( string text, Microsoft.Xna.Framework.Graphics.Texture2D background, Color textColor ) : |
||
text | string | |
background | Microsoft.Xna.Framework.Graphics.Texture2D | |
textColor | Color | |
Результат |
public HandleInput ( InputState input ) : void | ||
input | InputState | |
Результат | void |
public MenuScreen ( string title ) : System | ||
title | string | |
Результат | System |
protected OnCancel ( object sender, |
||
sender | object | |
args | ||
Результат | void |
protected OnSelectEntry ( int entryIndex, PlayerIndex playerIndex ) : void | ||
entryIndex | int | |
playerIndex | PlayerIndex | |
Результат | void |
public Update ( Microsoft gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen ) : void | ||
gameTime | Microsoft | |
otherScreenHasFocus | bool | |
coveredByOtherScreen | bool | |
Результат | void |