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::SysStarSystemTree Class Reference

Displays the star system tree to show all the planets and moons More...

#include <sysstarsystemtree.h>

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

Public Member Functions

 SysStarSystemTree (cqsp::engine::Application &app)
 
void Init ()
 
void DoUI (int delta_time)
 
void DoUpdate (int delta_time)
 
void SeePlanetSelectable (entt::entity entity)
 
void DoChildTree (entt::entity entity)
 
- 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

int selected_index = 0
 
entt::entity selected_planet
 
entt::sparse_set planets
 

Additional Inherited Members

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

Detailed Description

Displays the star system tree to show all the planets and moons

Constructor & Destructor Documentation

◆ SysStarSystemTree()

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

Member Function Documentation

◆ DoChildTree()

void cqsp::client::systems::SysStarSystemTree::DoChildTree ( entt::entity  entity)

◆ DoUI()

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

◆ DoUpdate()

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

◆ Init()

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

◆ SeePlanetSelectable()

void cqsp::client::systems::SysStarSystemTree::SeePlanetSelectable ( entt::entity  entity)

Member Data Documentation

◆ planets

entt::sparse_set cqsp::client::systems::SysStarSystemTree::planets
private

◆ selected_index

int cqsp::client::systems::SysStarSystemTree::selected_index = 0
private

◆ selected_planet

entt::entity cqsp::client::systems::SysStarSystemTree::selected_planet
private

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