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 Member Functions | Private Attributes | List of all members
cqsp::scene::UniverseLoadingScene Class Reference

#include <universeloadingscene.h>

Inheritance diagram for cqsp::scene::UniverseLoadingScene:
cqsp::client::Scene cqsp::engine::Scene

Public Member Functions

 UniverseLoadingScene (cqsp::engine::Application &app)
 
 ~UniverseLoadingScene ()
 
void Init ()
 
void Update (float deltaTime)
 
void Ui (float deltaTime)
 
void Render (float deltaTime)
 
- Public Member Functions inherited from cqsp::client::Scene
 Scene (cqsp::engine::Application &app)
 
cqsp::common::UniverseGetUniverse ()
 
scripting::ScriptInterfaceGetScriptInterface ()
 
- Public Member Functions inherited from cqsp::engine::Scene
 Scene (Application &app)
 
 Scene ()
 
virtual ~Scene ()
 
ApplicationGetApp ()
 
cqsp::asset::AssetManagerGetAssetManager ()
 

Private Member Functions

void LoadUniverse ()
 

Private Attributes

std::atomic< bool > m_done_loading
 
std::unique_ptr< std::thread > thread
 
bool m_completed_loading
 
Rml::ElementDocument * document
 

Constructor & Destructor Documentation

◆ UniverseLoadingScene()

cqsp::scene::UniverseLoadingScene::UniverseLoadingScene ( cqsp::engine::Application app)
explicit

◆ ~UniverseLoadingScene()

cqsp::scene::UniverseLoadingScene::~UniverseLoadingScene ( )

Member Function Documentation

◆ Init()

void cqsp::scene::UniverseLoadingScene::Init ( )
virtual

Implements cqsp::engine::Scene.

◆ LoadUniverse()

void cqsp::scene::UniverseLoadingScene::LoadUniverse ( )
private

◆ Render()

void cqsp::scene::UniverseLoadingScene::Render ( float  deltaTime)
virtual

Implements cqsp::engine::Scene.

◆ Ui()

void cqsp::scene::UniverseLoadingScene::Ui ( float  deltaTime)
virtual

Implements cqsp::engine::Scene.

◆ Update()

void cqsp::scene::UniverseLoadingScene::Update ( float  deltaTime)
virtual

Implements cqsp::engine::Scene.

Member Data Documentation

◆ document

Rml::ElementDocument* cqsp::scene::UniverseLoadingScene::document
private

◆ m_completed_loading

bool cqsp::scene::UniverseLoadingScene::m_completed_loading
private

◆ m_done_loading

std::atomic<bool> cqsp::scene::UniverseLoadingScene::m_done_loading
private

◆ thread

std::unique_ptr<std::thread> cqsp::scene::UniverseLoadingScene::thread
private

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