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

Represents the settings screen in the game UI. More...

#include <SettingsScreen.h>

Inheritance diagram for Game::SettingsScreen:
Collaboration diagram for Game::SettingsScreen:

Public Member Functions

 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.
 
- Public Member Functions inherited from Game::IScreen
virtual void Repose ()
 Event called when this screen is being closed.
 

Static Public Member Functions

static void GoBack ()
 Static callback to exit the settings screen.
 

Protected Attributes

WideString m_SubmitText
 Text displayed on the submit button.
 
Phosphorus::GameObjectm_GameObject
 GameObject instance that holds setting parameters.
 

Detailed Description

Represents the settings screen in the game UI.

Member Function Documentation

◆ Build()

void Game::SettingsScreen::Build ( Andromenda::Surface & surface)
overridevirtual

Builds the UI components for the settings screen.

Implements Game::IScreen.

◆ Draw()

void Game::SettingsScreen::Draw ( )
inlineoverridevirtual

Draws the settings screen (currently empty).

Implements Game::IScreen.

◆ OnSurfaceCallback()

void Game::SettingsScreen::OnSurfaceCallback ( const String & id)
overridevirtual

Handles callbacks from surface elements.

Implements Game::IScreen.


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