Emergency 20 Dokumentation  4.2.0
em5::MainMenuManager Class Reference

EMERGENCY 5 Main menu manager. More...

#include <MainMenuManager.h>

Inheritance diagram for em5::MainMenuManager:

Public Types

enum  ScreenToShow { ScreenToShow::DEFAULT, ScreenToShow::CREDITS, ScreenToShow::MAINEVENTS, ScreenToShow::SELECTCAMPAIGN }
 

Public Member Functions

 MainMenuManager ()
 Default constructor. More...
 
 ~MainMenuManager ()
 Destructor. More...
 
void loadGui ()
 Load the default EMERGENCY 5 main menu. More...
 
void hideGui ()
 Hide the default EMERGENCY 5 main menu. More...
 
void destroyGui ()
 Destroy the EMERGENCY 5 main menu. More...
 
void setScreenToShowOnReturn (ScreenToShow screenToShow)
 Select which window gets shown on return to main menu. More...
 
void showAccountInfoWindow (bool show)
 
MainMenugetMainMenuWindow ()
 Return the main menu window instance. More...
 
BaseLayergetBaseLayer ()
 Return the base layer window instance. More...
 
AccountStatusgetAccountStatusWindow ()
 Return the account status window instance. More...
 
AccountStatusTitlegetAccountStatusTitleWindow ()
 Return the account status title window instance. More...
 
AchievementsWindowgetAchievementsWindow ()
 Return the achievements window instance. More...
 
StartGamegetStartGameWindow ()
 Return the start game window instance. More...
 
CreditsWindowgetCreditsWindow ()
 Return the credits window instance. More...
 
StartCampaigngetStartCampaignWindow ()
 Return the start campaign window instance. More...
 
SelectCampaigngetSelectCampaignWindow ()
 Return the select campaign window instance. More...
 
SelectDifficultyWindowgetSelectDifficultyWindow ()
 Return the select difficulty window instance. More...
 
FreeplayWindowgetFreeplayWindow ()
 Return the freeplay window instance. More...
 
MainEventWindowgetMainEventWindow ()
 Return the large operation window instance. More...
 
MultiplayerWindowgetMultiplayerWindow ()
 Return the multiplayer window instance. More...
 
MultiplayerCreateServerWindowgetMultiplayerCreateServerWindow ()
 Return the multiplayer create server window instance. More...
 
MultiplayerLobbyWindowgetMultiplayerLobbyWindow ()
 Return the multiplayer create server window instance. More...
 
MultiplayerDirectConnectWindowgetMultiplayerDirectConnectWindow ()
 Return the multiplayer direct connect window instance. More...
 
MultiplayerHelpWindowgetMultiplayerHelpWindow ()
 Return the multiplayer help window instance. More...
 
PreferencesGameWindowgetPreferencesGameWindow ()
 Return the preferences window instance. More...
 
PreferencesGraphicWindowgetPreferencesGraphicWindow ()
 
ExtendedPreferencesGraphicWindowgetExtendedPreferencesGraphicWindow ()
 
PreferencesAudioWindowgetPreferencesAudioWindow ()
 
InputWindowgetInputWindow ()
 Return the input window instance. More...
 
VideoPlayerWindowgetVideoPlayerWindow ()
 Return the video player window instance. More...
 
AccountStatusTitleDataSourcegetAccountStatusTitleDataSource ()
 Return the datasource of the account status title. More...
 
AchievementsWindowDataSourcegetAchievementsWindowDataSource ()
 Return the datasource of the achievements window. More...
 
LoadCampaignDataSourcegetLoadCampaignDataSource ()
 Return the datasource of the campaign score. More...
 
MainEventDataSourcegetMainEventDataSource ()
 Return the datasource of the campaign score. More...
 
EndlessGameDataSourcegetEndlessGameDataSource ()
 Return the datasource of the endless game score. More...
 
MultiplayerServerDataSourcegetMultiplayerServerDataSource ()
 Return the datasource of the multiplayer server menu. More...
 

Detailed Description

EMERGENCY 5 Main menu manager.

Member Enumeration Documentation

Enumerator
DEFAULT 
CREDITS 
MAINEVENTS 
SELECTCAMPAIGN 

Constructor & Destructor Documentation

em5::MainMenuManager::MainMenuManager ( )

Default constructor.

em5::MainMenuManager::~MainMenuManager ( )

Destructor.

Note
  • Not virtual by intent

Member Function Documentation

void em5::MainMenuManager::destroyGui ( )

Destroy the EMERGENCY 5 main menu.

AccountStatusTitleDataSource& em5::MainMenuManager::getAccountStatusTitleDataSource ( )

Return the datasource of the account status title.

Returns
Reference to the account status title data source instance, do not destroy the instance
AccountStatusTitle& em5::MainMenuManager::getAccountStatusTitleWindow ( )

Return the account status title window instance.

Returns
Reference to the account status title window instance, do not destroy the instance
AccountStatus& em5::MainMenuManager::getAccountStatusWindow ( )

Return the account status window instance.

Returns
Reference to the account status window instance, do not destroy the instance
AchievementsWindow& em5::MainMenuManager::getAchievementsWindow ( )

Return the achievements window instance.

Returns
Reference to the achievements window instance, do not destroy the instance
AchievementsWindowDataSource& em5::MainMenuManager::getAchievementsWindowDataSource ( )

Return the datasource of the achievements window.

Returns
Reference to the achievements window data source instance, do not destroy the instance
BaseLayer& em5::MainMenuManager::getBaseLayer ( )

Return the base layer window instance.

Returns
Reference to the base layer window instance, do not destroy the instance
CreditsWindow& em5::MainMenuManager::getCreditsWindow ( )

Return the credits window instance.

Returns
Reference to the credits window instance, do not destroy the instance
EndlessGameDataSource& em5::MainMenuManager::getEndlessGameDataSource ( )

Return the datasource of the endless game score.

Returns
Reference to the save campaign window data source instance, do not destroy the instance
ExtendedPreferencesGraphicWindow& em5::MainMenuManager::getExtendedPreferencesGraphicWindow ( )
FreeplayWindow& em5::MainMenuManager::getFreeplayWindow ( )

Return the freeplay window instance.

Returns
Reference to the freeplay window instance, do not destroy the instance
InputWindow& em5::MainMenuManager::getInputWindow ( )

Return the input window instance.

Returns
Reference to the input window instance, do not destroy the instance
LoadCampaignDataSource& em5::MainMenuManager::getLoadCampaignDataSource ( )

Return the datasource of the campaign score.

Returns
Reference to the load campaign window data source instance, do not destroy the instance
MainEventDataSource& em5::MainMenuManager::getMainEventDataSource ( )

Return the datasource of the campaign score.

Returns
Reference to the save campaign window data source instance, do not destroy the instance
MainEventWindow& em5::MainMenuManager::getMainEventWindow ( )

Return the large operation window instance.

Returns
Reference to the large operation window instance, do not destroy the instance
MainMenu& em5::MainMenuManager::getMainMenuWindow ( )

Return the main menu window instance.

Returns
Reference to the main menu window instance, do not destroy the instance
MultiplayerCreateServerWindow& em5::MainMenuManager::getMultiplayerCreateServerWindow ( )

Return the multiplayer create server window instance.

Returns
Reference to the multiplayer create server window instance, do not destroy the instance
MultiplayerDirectConnectWindow& em5::MainMenuManager::getMultiplayerDirectConnectWindow ( )

Return the multiplayer direct connect window instance.

Returns
Reference to the multiplayer direct connect window instance, do not destroy the instance
MultiplayerHelpWindow& em5::MainMenuManager::getMultiplayerHelpWindow ( )

Return the multiplayer help window instance.

Returns
Reference to the multiplayer help window instance, do not destroy the instance
MultiplayerLobbyWindow& em5::MainMenuManager::getMultiplayerLobbyWindow ( )

Return the multiplayer create server window instance.

Returns
Reference to the multiplayer create server window instance, do not destroy the instance
MultiplayerServerDataSource& em5::MainMenuManager::getMultiplayerServerDataSource ( )

Return the datasource of the multiplayer server menu.

Returns
Reference to the multiplayer window data source instance, do not destroy the instance
MultiplayerWindow& em5::MainMenuManager::getMultiplayerWindow ( )

Return the multiplayer window instance.

Returns
Reference to the multiplayer window instance, do not destroy the instance
PreferencesAudioWindow& em5::MainMenuManager::getPreferencesAudioWindow ( )
PreferencesGameWindow& em5::MainMenuManager::getPreferencesGameWindow ( )

Return the preferences window instance.

Returns
Reference to the preferences window instance, do not destroy the instance
PreferencesGraphicWindow& em5::MainMenuManager::getPreferencesGraphicWindow ( )
SelectCampaign& em5::MainMenuManager::getSelectCampaignWindow ( )

Return the select campaign window instance.

Returns
Reference to the select campaign window instance, do not destroy the instance
SelectDifficultyWindow& em5::MainMenuManager::getSelectDifficultyWindow ( )

Return the select difficulty window instance.

Returns
Reference to the select difficulty window instance, do not destroy the instance
StartCampaign& em5::MainMenuManager::getStartCampaignWindow ( )

Return the start campaign window instance.

Returns
Reference to the start campaign window instance, do not destroy the instance
StartGame& em5::MainMenuManager::getStartGameWindow ( )

Return the start game window instance.

Returns
Reference to the start game window instance, do not destroy the instance
VideoPlayerWindow& em5::MainMenuManager::getVideoPlayerWindow ( )

Return the video player window instance.

Returns
Reference to the video player window instance, do not destroy the instance
void em5::MainMenuManager::hideGui ( )

Hide the default EMERGENCY 5 main menu.

void em5::MainMenuManager::loadGui ( )

Load the default EMERGENCY 5 main menu.

void em5::MainMenuManager::setScreenToShowOnReturn ( ScreenToShow  screenToShow)

Select which window gets shown on return to main menu.

void em5::MainMenuManager::showAccountInfoWindow ( bool  show)

The documentation for this class was generated from the following file: