Conquer Space
0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
src
client
scenes
universe
interface
syspausemenu.h
Go to the documentation of this file.
1
/* Conquer Space
2
* Copyright (C) 2021-2023 Conquer Space
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
#pragma once
18
19
#include "
client/systems/sysgui.h
"
20
21
namespace
cqsp
{
22
namespace
client {
23
namespace
systems {
28
class
SysPauseMenu
:
public
SysUserInterface
{
29
public
:
30
explicit
SysPauseMenu
(
cqsp::engine::Application
& app) :
SysUserInterface
(app) {}
31
32
void
Init
();
33
void
DoUI
(
int
delta_time);
34
void
DoUpdate
(
int
delta_time);
35
36
private
:
37
bool
to_show
=
false
;
38
bool
to_show_options_window
=
false
;
39
};
40
}
// namespace systems
41
}
// namespace client
42
}
// namespace cqsp
cqsp::client::systems::SysPauseMenu
Menu when the key escape is pressed, pauses all interaction with the background, displays exit game,...
Definition:
syspausemenu.h:28
cqsp::client::systems::SysPauseMenu::to_show
bool to_show
Definition:
syspausemenu.h:37
cqsp::client::systems::SysPauseMenu::DoUpdate
void DoUpdate(int delta_time)
Definition:
syspausemenu.cpp:80
cqsp::client::systems::SysPauseMenu::SysPauseMenu
SysPauseMenu(cqsp::engine::Application &app)
Definition:
syspausemenu.h:30
cqsp::client::systems::SysPauseMenu::DoUI
void DoUI(int delta_time)
Definition:
syspausemenu.cpp:32
cqsp::client::systems::SysPauseMenu::Init
void Init()
Definition:
syspausemenu.cpp:30
cqsp::client::systems::SysPauseMenu::to_show_options_window
bool to_show_options_window
Definition:
syspausemenu.h:38
cqsp::client::systems::SysUserInterface
Definition:
sysgui.h:25
cqsp::engine::Application
Definition:
application.h:47
cqsp
When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to ...
Definition:
clientctx.h:21
sysgui.h
Generated on Tue Nov 19 2024 02:58:49 for Conquer Space by
1.9.2