Méthode | 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.
|
Méthode | Description | |
---|---|---|
OnSelectEntry ( PlayerIndex playerIndex ) : void |
Method for raising the Selected event.
|
public Draw ( |
||
screen | ||
isSelected | bool | |
gameTime | ||
Résultat | void |
public GetHeight ( |
||
screen | ||
Résultat | int |
public GetWidth ( |
||
screen | ||
Résultat | int |
protected OnSelectEntry ( PlayerIndex playerIndex ) : void | ||
playerIndex | PlayerIndex | |
Résultat | void |
public Update ( |
||
screen | ||
isSelected | bool | |
gameTime | ||
Résultat | void |