Method | Description | |
---|---|---|
MainMenuScreen ( ) : System |
Constructor fills in the menu contents.
|
Method | Description | |
---|---|---|
OnCancel ( PlayerIndex playerIndex ) : void |
When the user cancels the main menu, ask if they want to exit the sample.
|
Method | Description | |
---|---|---|
ConfirmExitMessageBoxAccepted ( object sender, |
Event handler for when the user selects ok on the "are you sure you want to exit" message box.
|
|
OptionsMenuEntrySelected ( object sender, |
Event handler for when the Options menu entry is selected.
|
|
PlayGameMenuEntrySelected ( object sender, |
Event handler for when the Play Game menu entry is selected.
|
protected OnCancel ( PlayerIndex playerIndex ) : void | ||
playerIndex | PlayerIndex | |
return | void |