Property | Type | Description | |
---|---|---|---|
menuFont | |||
menuItemFont |
Method | Description | |
---|---|---|
Draw ( |
||
Old_MenuState ( string menuText, IMenuItem menuItemList ) : System.Collections.Generic | ||
Old_MenuState ( string menuText, List |
||
Update ( |
Method | Description | |
---|---|---|
DrawMenu ( |
Contains abstract Draw logic for the Menu.
|
Method | Description | |
---|---|---|
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 | ||
return | void |
protected DrawMenu ( |
||
spriteBatch | ||
return | void |
public Old_MenuState ( string menuText, IMenuItem menuItemList ) : System.Collections.Generic | ||
menuText | string | |
menuItemList | IMenuItem | |
return | System.Collections.Generic |
public Old_MenuState ( string menuText, List |
||
menuText | string | |
menuItemList | List |
|
return | System.Collections.Generic |
public Update ( |
||
gameTime | ||
return | void |
protected SpriteFont,Microsoft.Xna.Framework.Graphics menuFont | ||
return |