C# Класс RecordRobot.Menus.MenuEntry

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

Draw() публичный Метод

public Draw ( ) : void
Результат void

MenuEntry() публичный Метод

public MenuEntry ( string text, Vector2 position, IMenuDelegate menuDelegate ) : System
text string
position Vector2
menuDelegate IMenuDelegate
Результат System

TryRunDelegate() публичный Метод

Tries to run the delegate. This should be called when the delegate is highlighted. If so, the delegated action is performed.
public TryRunDelegate ( ) : void
Результат void

Update() публичный Метод

public Update ( bool highlighted ) : void
highlighted bool
Результат void