GigaPasjans
Loading...
Searching...
No Matches
MainMenuScreen.h
1// Plik utworzony przez Piotra ChudziƄskiego w dniu 17.04.2025
2#pragma once
3#include "game/Screens/Screen.h"
4
5namespace Game
6{
11 class MainMenuScreen : public MenuScreen
12 {
13 public:
14 MainMenuScreen();
15 ~MainMenuScreen() override;
16
17 static void Play();
18 static void LoadFromFile();
19 static void Replay();
20 static void Settings();
21 static void Exit();
22
24 void Build(Andromenda::Surface &surface) override;
25
27 void Draw() override
28 {
29 }
30
32 void OnSurfaceCallback(const String &id) override;
33 };
34}
The renderer of component registry.
Definition Surface.h:28
void OnSurfaceCallback(const String &id) override
Event called when any component sends callback.
Definition MainMenuScreen.cpp:49
void Build(Andromenda::Surface &surface) override
Event called when this screen is being opened.
Definition MainMenuScreen.cpp:38
void Draw() override
Event called when screen is getting rerendered and this screen is currently rendered screen.
Definition MainMenuScreen.h:27
Represents a screen where user have to make a choice from declared entries.
Definition Screen.h:93
Represents a mutable sequence of characters, providing various member functions for string manipulati...
Definition String.h:16