Свойство | Тип | Описание | |
---|---|---|---|
Disabled | Color | ||
Selected | Color | ||
Unselected | Color | ||
controller | |||
ms | Microsoft.Xna.Framework.Input.MouseState | ||
selected | int |
Свойство | Тип | Описание | |
---|---|---|---|
distY | float | ||
font | |||
initialX | float | ||
initialY | float | ||
options | List |
||
returnSelected | bool | ||
sgconnect | bool | ||
title | string |
Метод | Описание | |
---|---|---|
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 | ||
Результат | void |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void | ||
Content | Microsoft.Xna.Framework.Content.ContentManager | |
Результат | 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 | |
Результат | System |
public MenuController,CrisisAtSwissStation controller | ||
Результат |
protected SpriteFont,Microsoft.Xna.Framework.Graphics font | ||
Результат |
public MouseState,Microsoft.Xna.Framework.Input ms | ||
Результат | Microsoft.Xna.Framework.Input.MouseState |