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
Afficher le fichier Open project: GarethIW/LDEngine

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnCancel ( object sender, EventArgs e ) : void

Method Details

ConfirmQuitMessageBoxAccepted() public méthode

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
Résultat void

LoadGameMenuEntrySelected() public méthode

public LoadGameMenuEntrySelected ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OnCancel() protected méthode

protected OnCancel ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OptionsMenuEntrySelected() public méthode

public OptionsMenuEntrySelected ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

PauseMenuScreen() public méthode

Constructor.
public PauseMenuScreen ( ) : System
Résultat System

QuitGameMenuEntrySelected() public méthode

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

SaveGameMenuEntrySelected() public méthode

public SaveGameMenuEntrySelected ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

resumeGameMenuEntry_Selected() public méthode

public resumeGameMenuEntry_Selected ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void