Свойство | Тип | Описание | |
---|---|---|---|
Position | Vector2 | ||
bounds | |||
selectionFade | float |
Метод | Описание | |
---|---|---|
Click ( int x, int y ) : void | ||
Draw ( |
Draws the menu entry. This can be overridden to customize the appearance.
|
|
GetHeight ( |
Queries how much space this menu entry requires.
|
|
Left ( ) : void | ||
MenuEntry ( string text, bool isEnabled ) : System |
Constructs a new menu entry with the specified text.
|
|
Right ( ) : void | ||
Update ( |
Updates the menu entry.
|
Метод | Описание | |
---|---|---|
OnSelectEntry ( ) : void |
Method for raising the Selected event.
|
public Draw ( |
||
screen | ||
isSelected | bool | |
gameTime | ||
Результат | void |
public GetHeight ( |
||
screen | ||
Результат | int |
public MenuEntry ( string text, bool isEnabled ) : System | ||
text | string | |
isEnabled | bool | |
Результат | System |
public Update ( |
||
screen | ||
isSelected | bool | |
gameTime | ||
Результат | void |
public Rectangle,Microsoft.Xna.Framework bounds | ||
Результат |