Свойство | Тип | Описание | |
---|---|---|---|
menuFont | |||
menuItemFont |
Метод | Описание | |
---|---|---|
Draw ( |
||
Old_MenuState ( string menuText, IMenuItem menuItemList ) : System.Collections.Generic | ||
Old_MenuState ( string menuText, List |
||
Update ( |
Метод | Описание | |
---|---|---|
DrawMenu ( |
Contains abstract Draw logic for the Menu.
|
Метод | Описание | |
---|---|---|
ActivateState ( ) : void |
Contains logic that should be fired every time the state becomes active. This should fire especially in cases where the state had become inactive and then regains activity once again.
|
|
InactivateState ( ) : void |
Contains logic that should be fired every time the state becomes inactive. This was originally implemented to avoid function pointers AKA delegates from firing out of the Master.stack order.
|
|
Initialize ( string menuText ) : void | ||
KeyDown ( |
Event based Input hook for MenuState.
|
|
LoadContent ( ) : void | ||
PushActiveMenuIndex ( ) : void |
Called when a user presses Enter on a specific Menu Item.
|
|
UpdateInput ( |
Only should be run if the state is active.
|
public Draw ( |
||
spriteBatch | ||
Результат | void |
protected DrawMenu ( |
||
spriteBatch | ||
Результат | void |
public Old_MenuState ( string menuText, IMenuItem menuItemList ) : System.Collections.Generic | ||
menuText | string | |
menuItemList | IMenuItem | |
Результат | System.Collections.Generic |
public Old_MenuState ( string menuText, List |
||
menuText | string | |
menuItemList | List |
|
Результат | System.Collections.Generic |
public Update ( |
||
gameTime | ||
Результат | void |
protected SpriteFont,Microsoft.Xna.Framework.Graphics menuFont | ||
Результат |