C# Class RecordRobot.Menus.MenuEntry

Afficher le fichier Open project: scastle/EECS290_Project1 Class Usage Examples

Méthodes publiques

Méthode 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

Method Details

Draw() public méthode

public Draw ( ) : void
Résultat void

MenuEntry() public méthode

public MenuEntry ( string text, Vector2 position, IMenuDelegate menuDelegate ) : System
text string
position Vector2
menuDelegate IMenuDelegate
Résultat System

TryRunDelegate() public méthode

Tries to run the delegate. This should be called when the delegate is highlighted. If so, the delegated action is performed.
public TryRunDelegate ( ) : void
Résultat void

Update() public méthode

public Update ( bool highlighted ) : void
highlighted bool
Résultat void