C# Class GameStateManagement.PauseMenuScreen

The pause menu comes up over the top of the game, giving the player options to resume or quit.
Inheritance: MenuScreen
显示文件 Open project: GarethIW/LDEngine

Public Methods

Method Description
ConfirmQuitMessageBoxAccepted ( object sender, EventArgs e ) : void

Event handler for when the user selects ok on the "are you sure you want to quit" message box. This uses the loading screen to transition from the game back to the main menu screen.

LoadGameMenuEntrySelected ( object sender, EventArgs e ) : void
OptionsMenuEntrySelected ( object sender, EventArgs e ) : void
PauseMenuScreen ( ) : System

Constructor.

QuitGameMenuEntrySelected ( object sender, EventArgs e ) : void

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

SaveGameMenuEntrySelected ( object sender, EventArgs e ) : void
resumeGameMenuEntry_Selected ( object sender, EventArgs e ) : void

Protected Methods

Method Description
OnCancel ( object sender, EventArgs e ) : void

Method Details

ConfirmQuitMessageBoxAccepted() public method

Event handler for when the user selects ok on the "are you sure you want to quit" message box. This uses the loading screen to transition from the game back to the main menu screen.
public ConfirmQuitMessageBoxAccepted ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

LoadGameMenuEntrySelected() public method

public LoadGameMenuEntrySelected ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnCancel() protected method

protected OnCancel ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OptionsMenuEntrySelected() public method

public OptionsMenuEntrySelected ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

PauseMenuScreen() public method

Constructor.
public PauseMenuScreen ( ) : System
return System

QuitGameMenuEntrySelected() public method

Event handler for when the Quit Game menu entry is selected.
public QuitGameMenuEntrySelected ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

SaveGameMenuEntrySelected() public method

public SaveGameMenuEntrySelected ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

resumeGameMenuEntry_Selected() public method

public resumeGameMenuEntry_Selected ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void