Space Fighter
A "shmup" game for Computer Programming C++
Loading...
Searching...
No Matches
MainMenuScreen.cpp File Reference
#include <string>
#include "MainMenuScreen.h"
#include "GameplayScreen.h"

Go to the source code of this file.

Functions

void OnStartGameSelect (MenuScreen *pScreen)
 Callback function for when the Start Game menu item is selected.
 
void OnQuitSelect (MenuScreen *pScreen)
 Callback function for when the Quit menu item is selected.
 
void OnMainMenuScreenRemoved (Screen *pScreen)
 Callback function for when the main menu screen is removed from the screen manager.
 

Function Documentation

◆ OnMainMenuScreenRemoved()

void OnMainMenuScreenRemoved ( Screen * pScreen)

Callback function for when the main menu screen is removed from the screen manager.

Parameters
pScreenA pointer to the menu screen that contains the menu item.

Definition at line 26 of file MainMenuScreen.cpp.

◆ OnQuitSelect()

void OnQuitSelect ( MenuScreen * pScreen)

Callback function for when the Quit menu item is selected.

Parameters
pScreenA pointer to the menu screen that contains the menu item.

Definition at line 17 of file MainMenuScreen.cpp.

◆ OnStartGameSelect()

void OnStartGameSelect ( MenuScreen * pScreen)

Callback function for when the Start Game menu item is selected.

Parameters
pScreenA pointer to the menu screen that contains the menu item.

Definition at line 10 of file MainMenuScreen.cpp.