C# Класс PrinceGame.MainMenuScreen

Наследование: MenuScreen
Показать файл Открыть проект

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

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