Method | Description | |
---|---|---|
Draw ( |
Draws the menu entry. This can be overridden to customize the appearance.
|
|
GetHeight ( |
Queries how much space this menu entry requires.
|
|
GetWidth ( |
Queries how wide the entry is, used for centering on the screen.
|
|
MenuEntry ( string text ) : System |
Constructs a new menu entry with the specified text.
|
|
Update ( |
Updates the menu entry.
|
Method | Description | |
---|---|---|
OnSelectEntry ( PlayerIndex playerIndex ) : void |
Method for raising the Selected event.
|
public Draw ( |
||
screen | ||
isSelected | bool | |
gameTime | ||
return | void |
protected OnSelectEntry ( PlayerIndex playerIndex ) : void | ||
playerIndex | PlayerIndex | |
return | void |
public Update ( |
||
screen | ||
isSelected | bool | |
gameTime | ||
return | void |