C# Class GameStateManagement.MainMenuScreen

The main menu screen is the first thing displayed when the game starts up.
Inheritance: MenuScreen
Afficher le fichier Open project: GarethIW/LDEngine Class Usage Examples

Méthodes publiques

Méthode Description
MainMenuScreen ( ) : System

Constructor fills in the menu contents.

OptionsMenuEntrySelected ( object sender, EventArgs e ) : void

Event handler for when the Options menu entry is selected.

PlayGameMenuEntrySelected ( object sender, EventArgs e ) : void

Méthodes protégées

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

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

Method Details

MainMenuScreen() public méthode

Constructor fills in the menu contents.
public MainMenuScreen ( ) : System
Résultat System

OnCancel() protected méthode

When the user cancels the main menu, ask if they want to exit the sample.
protected OnCancel ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

OptionsMenuEntrySelected() public méthode

Event handler for when the Options menu entry is selected.
public OptionsMenuEntrySelected ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

PlayGameMenuEntrySelected() public méthode

public PlayGameMenuEntrySelected ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void