Property | Type | Description | |
---|---|---|---|
SCREEN_HEIGHT | int | ||
SCREEN_WIDTH | int | ||
creditsButtons | MenuItem>.Dictionary | ||
creditsRect | |||
first | bool | ||
inventory | |||
inventoryBackground | Microsoft.Xna.Framework.Graphics.Texture2D | ||
inventoryBackgroundTex | Microsoft.Xna.Framework.Graphics.Texture2D | ||
inventoryButtons | MenuItem>.Dictionary | ||
items | MenuItem>.Dictionary | ||
mainBackgroundRect | |||
mainBackgroundTex | Microsoft.Xna.Framework.Graphics.Texture2D | ||
menuState | String | ||
offset | int | ||
splashScreen | Microsoft.Xna.Framework.Graphics.Texture2D | ||
splashScreenButtons | MenuItem>.Dictionary | ||
splashScreenMask | Microsoft.Xna.Framework.Graphics.Texture2D | ||
splashScreenRect | |||
splashShine | Microsoft.Xna.Framework.Graphics.Texture2D | ||
splashText | String |
Method | Description | |
---|---|---|
Draw ( |
The method for drawing the whole menu.
|
|
Load ( |
||
Menu ( int SCREEN_WIDTH, int SCREEN_HEIGHT ) : System | ||
Update ( |
The method for updating the menu items.
|
Method | Description | |
---|---|---|
loadDefaultMenu ( |
This is the method to set up a basic menu with items in it (resume / exit).
|
public Draw ( |
||
spriteBatch | What is used to draw. | |
Font | ||
Splash | ||
return | void |
public Load ( |
||
gameReference | ||
return | void |
public Menu ( int SCREEN_WIDTH, int SCREEN_HEIGHT ) : System | ||
SCREEN_WIDTH | int | |
SCREEN_HEIGHT | int | |
return | System |
public Update ( |
||
gameTime | How much time has elapsed. | |
gameReference | The reference to everything. | |
return | void |
protected Dictionary |
||
return | MenuItem>.Dictionary |
protected Rectangle,Microsoft.Xna.Framework creditsRect | ||
return |
protected Texture2D,Microsoft.Xna.Framework.Graphics inventoryBackground | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
protected Texture2D,Microsoft.Xna.Framework.Graphics inventoryBackgroundTex | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
protected Dictionary |
||
return | MenuItem>.Dictionary |
protected Rectangle,Microsoft.Xna.Framework mainBackgroundRect | ||
return |
protected Texture2D,Microsoft.Xna.Framework.Graphics mainBackgroundTex | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
protected Texture2D,Microsoft.Xna.Framework.Graphics splashScreen | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
protected Dictionary |
||
return | MenuItem>.Dictionary |
protected Texture2D,Microsoft.Xna.Framework.Graphics splashScreenMask | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
protected Rectangle,Microsoft.Xna.Framework splashScreenRect | ||
return |
protected Texture2D,Microsoft.Xna.Framework.Graphics splashShine | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |