GigaPasjans
Loading...
Searching...
No Matches
Game::GameSettingsScreen Class Reference

Screen for editing general game settings. More...

#include <GameSettingsScreen.h>

Inheritance diagram for Game::GameSettingsScreen:
Collaboration diagram for Game::GameSettingsScreen:

Public Member Functions

void Build (Andromenda::Surface &surface) override
 Builds the game settings screen UI by initializing with the current game settings object.
 
void Repose () override
 Event called when this screen is being closed.
 
- Public Member Functions inherited from Game::SettingsScreen
 SettingsScreen (Phosphorus::GameObject *gameObject)
 
void Build (Andromenda::Surface &surface) override
 Builds the UI components for the settings screen.
 
void Draw () override
 Draws the settings screen (currently empty).
 
void OnSurfaceCallback (const String &id) override
 Handles callbacks from surface elements.
 

Additional Inherited Members

- Static Public Member Functions inherited from Game::SettingsScreen
static void GoBack ()
 Static callback to exit the settings screen.
 
- Protected Attributes inherited from Game::SettingsScreen
WideString m_SubmitText
 Text displayed on the submit button.
 
Phosphorus::GameObjectm_GameObject
 GameObject instance that holds setting parameters.
 

Detailed Description

Screen for editing general game settings.

Member Function Documentation

◆ Build()

void Game::GameSettingsScreen::Build ( Andromenda::Surface & surface)
inlineoverridevirtual

Builds the game settings screen UI by initializing with the current game settings object.

Implements Game::IScreen.

◆ Repose()

void Game::GameSettingsScreen::Repose ( )
inlineoverridevirtual

Event called when this screen is being closed.

Reimplemented from Game::IScreen.


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