Method | Description | |
---|---|---|
CompareTo ( object obj ) : int | ||
Draw ( ) : void |
Draws the menu entry. This can be overridden to customize the appearance.
|
|
GetHeight ( ) : int |
Queries how much space this menu entry requires.
|
|
GetWidth ( ) : int |
Queries how wide the entry is, used for centering on the screen.
|
|
Initialize ( ) : void | ||
InitializeEntries ( float hiddenX, float visibleX ) : void | ||
InitializePosition ( float target, bool visible ) : void | ||
IsExitItem ( ) : bool | ||
IsSelectable ( ) : bool | ||
MenuEntry ( |
Constructs a new menu entry with the specified text.
|
|
MenuEntry ( string text, |
Constructs a new menu entry with the specified text.
|
|
Update ( bool isSelected, |
Updates the menu entry.
|
|
Update ( bool isSelected, bool isHovered, |
Updates the menu entry.
|
public static InitializeEntries ( float hiddenX, float visibleX ) : void | ||
hiddenX | float | |
visibleX | float | |
return | void |
public InitializePosition ( float target, bool visible ) : void | ||
target | float | |
visible | bool | |
return | void |
public MenuEntry ( |
||
menu | ||
text | string | |
type | EntryType | |
screen | ||
return | System |
public MenuEntry ( string text, |
||
text | string | |
screen | ||
preview | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | System |
public Update ( bool isSelected, |
||
isSelected | bool | |
gameTime | ||
return | void |
public Update ( bool isSelected, bool isHovered, |
||
isSelected | bool | |
isHovered | bool | |
gameTime | ||
return | void |