C# 클래스 PrinceGame.MainMenuScreen

상속: MenuScreen
파일 보기 프로젝트 열기: salvadorc17/Prince-Monogame

공개 메소드들

메소드 설명
MainMenuScreen ( ) : System

Constructor fills in the menu contents.

보호된 메소드들

메소드 설명
OnCancel ( PlayerIndex playerIndex ) : void

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

비공개 메소드들

메소드 설명
ConfirmExitMessageBoxAccepted ( object sender, PlayerIndexEventArgs e ) : void

Event handler for when the user selects ok on the "are you sure you want to exit" message box.

OptionsMenuEntrySelected ( object sender, PlayerIndexEventArgs e ) : void

Event handler for when the Options menu entry is selected.

PlayGameMenuEntrySelected ( object sender, PlayerIndexEventArgs e ) : void

Event handler for when the Play Game menu entry is selected.

메소드 상세

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 ( PlayerIndex playerIndex ) : void
playerIndex PlayerIndex
리턴 void