C# 클래스 GameStateManagement.MainMenuScreen

The main menu screen is the first thing displayed when the game starts up.
상속: MenuScreen
파일 보기 프로젝트 열기: GarethIW/LDEngine 1 사용 예제들

공개 메소드들

메소드 설명
MainMenuScreen ( ) : System

Constructor fills in the menu contents.

OptionsMenuEntrySelected ( object sender, EventArgs e ) : void

Event handler for when the Options menu entry is selected.

PlayGameMenuEntrySelected ( object sender, EventArgs e ) : void

보호된 메소드들

메소드 설명
OnCancel ( object sender, EventArgs e ) : void

When the user cancels the main menu, ask if they want to exit the sample.

메소드 상세

MainMenuScreen() 공개 메소드

Constructor fills in the menu contents.
public MainMenuScreen ( ) : System
리턴 System

OnCancel() 보호된 메소드

When the user cancels the main menu, ask if they want to exit the sample.
protected OnCancel ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

OptionsMenuEntrySelected() 공개 메소드

Event handler for when the Options menu entry is selected.
public OptionsMenuEntrySelected ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

PlayGameMenuEntrySelected() 공개 메소드

public PlayGameMenuEntrySelected ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void