Method | Description | |
---|---|---|
Draw ( ) : void | ||
MenuEntry ( string text, Vector2 position, IMenuDelegate menuDelegate ) : System | ||
TryRunDelegate ( ) : void |
Tries to run the delegate. This should be called when the delegate is highlighted. If so, the delegated action is performed.
|
|
Update ( bool highlighted ) : void |
public MenuEntry ( string text, Vector2 position, IMenuDelegate menuDelegate ) : System | ||
text | string | |
position | Vector2 | |
menuDelegate | IMenuDelegate | |
return | System |