C# 클래스 RecordRobot.Menus.MenuEntry

파일 보기 프로젝트 열기: scastle/EECS290_Project1 1 사용 예제들

공개 메소드들

메소드 설명
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