Свойство | Type | Description | |
---|---|---|---|
Disabled | Color | ||
Selected | Color | ||
Unselected | Color | ||
controller | |||
ms | Microsoft.Xna.Framework.Input.MouseState | ||
selected | int |
Свойство | Type | Description | |
---|---|---|---|
distY | float | ||
font | |||
initialX | float | ||
initialY | float | ||
options | List |
||
returnSelected | bool | ||
sgconnect | bool | ||
title | string |
Méthode | Description | |
---|---|---|
Draw ( |
Draw current menu, including state
|
|
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void | ||
MenuScreen ( float x, float y, float vertDist, bool sgConnect = false ) : System |
|
|
ReturnCommand ( ) : |
Returns selected command. Null if not returning command.
|
|
Update ( ) : void |
public Draw ( |
||
spriteBatch | ||
Résultat | void |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void | ||
Content | Microsoft.Xna.Framework.Content.ContentManager | |
Résultat | void |
public MenuScreen ( float x, float y, float vertDist, bool sgConnect = false ) : System | ||
x | float | X coordinate of first option |
y | float | Y coordinate of first option |
vertDist | float | Y distance to next option |
sgConnect | bool | |
Résultat | System |
public MenuController,CrisisAtSwissStation controller | ||
Résultat |
protected SpriteFont,Microsoft.Xna.Framework.Graphics font | ||
Résultat |
public MouseState,Microsoft.Xna.Framework.Input ms | ||
Résultat | Microsoft.Xna.Framework.Input.MouseState |