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.
Public Member Functions | Private Attributes | List of all members
cqsp::client::systems::SysTurnSaveWindow Class Reference

#include <systurnsavewindow.h>

Inheritance diagram for cqsp::client::systems::SysTurnSaveWindow:
cqsp::client::systems::SysUserInterface

Public Member Functions

 SysTurnSaveWindow (cqsp::engine::Application &app)
 
void Init ()
 
void DoUI (int delta_time)
 
void DoUpdate (int delta_time)
 
void TogglePlayState ()
 
- Public Member Functions inherited from cqsp::client::systems::SysUserInterface
 SysUserInterface (cqsp::engine::Application &_app)
 
virtual ~SysUserInterface ()=default
 
cqsp::engine::ApplicationGetApp ()
 
cqsp::common::UniverseGetUniverse ()
 
scripting::ScriptInterfaceGetScriptInterface ()
 
cqsp::asset::AssetManagerGetAssetManager ()
 

Private Attributes

double last_tick = 0
 
bool to_tick = false
 
std::vector< int > tick_speeds {1000, 500, 333, 100, 50, 10, 1}
 
int tick_speed = tick_speeds.size() / 2
 

Additional Inherited Members

- Public Attributes inherited from cqsp::client::systems::SysUserInterface
ImGuiWindowFlags window_flags = 0
 

Constructor & Destructor Documentation

◆ SysTurnSaveWindow()

cqsp::client::systems::SysTurnSaveWindow::SysTurnSaveWindow ( cqsp::engine::Application app)
inlineexplicit

Member Function Documentation

◆ DoUI()

void cqsp::client::systems::SysTurnSaveWindow::DoUI ( int  delta_time)
virtual

◆ DoUpdate()

void cqsp::client::systems::SysTurnSaveWindow::DoUpdate ( int  delta_time)
virtual

◆ Init()

void cqsp::client::systems::SysTurnSaveWindow::Init ( )
virtual

◆ TogglePlayState()

void cqsp::client::systems::SysTurnSaveWindow::TogglePlayState ( )

Member Data Documentation

◆ last_tick

double cqsp::client::systems::SysTurnSaveWindow::last_tick = 0
private

◆ tick_speed

int cqsp::client::systems::SysTurnSaveWindow::tick_speed = tick_speeds.size() / 2
private

◆ tick_speeds

std::vector<int> cqsp::client::systems::SysTurnSaveWindow::tick_speeds {1000, 500, 333, 100, 50, 10, 1}
private

◆ to_tick

bool cqsp::client::systems::SysTurnSaveWindow::to_tick = false
private

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