Property | Type | Description | |
---|---|---|---|
areaOfMenu | |||
buttonList | List |
||
key | |||
mouse | Microsoft.Xna.Framework.Input.MouseState | ||
selected | int | ||
spriteFont | |||
strings | string[] |
Method | Description | |
---|---|---|
Draw ( |
||
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
MenuComponent ( ) : System | ||
Update ( |
||
checkKeyboard ( Keys keyDown ) : bool | ||
checkMouseClick ( ) : bool | ||
checkMousePos ( Vector2 center ) : |
||
indexOfLargestString ( |
||
measureLargestString ( |
public Draw ( |
||
spriteBatch | ||
return | void |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
return | void |
public Update ( |
||
gameTime | ||
return | void |
public checkMousePos ( Vector2 center ) : |
||
center | Vector2 | |
return |
public indexOfLargestString ( |
||
spriteFont | ||
strings | string | |
return | int |
public measureLargestString ( |
||
spriteFont | ||
strings | string | |
return | float |
public Rectangle,Microsoft.Xna.Framework areaOfMenu | ||
return |
public KeyboardState,Microsoft.Xna.Framework.Input key | ||
return |
public MouseState,Microsoft.Xna.Framework.Input mouse | ||
return | Microsoft.Xna.Framework.Input.MouseState |
public SpriteFont,Microsoft.Xna.Framework.Graphics spriteFont | ||
return |