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::common::systems::SysMarket Class Reference

#include <sysmarket.h>

Inheritance diagram for cqsp::common::systems::SysMarket:
cqsp::common::systems::ISimulationSystem

Public Member Functions

 SysMarket (Game &game)
 
void DoSystem () override
 
int Interval () override
 
void Init () override
 
- Public Member Functions inherited from cqsp::common::systems::ISimulationSystem
 ISimulationSystem (Game &game)
 
virtual ~ISimulationSystem ()=default
 

Private Member Functions

void DeterminePrice (components::Market &market, entt::entity good_entity)
 

Private Attributes

components::ResourceLedger base_prices
 

Additional Inherited Members

- Protected Member Functions inherited from cqsp::common::systems::ISimulationSystem
GameGetGame ()
 
UniverseGetUniverse ()
 

Constructor & Destructor Documentation

◆ SysMarket()

cqsp::common::systems::SysMarket::SysMarket ( Game game)
inlineexplicit

Member Function Documentation

◆ DeterminePrice()

void cqsp::common::systems::SysMarket::DeterminePrice ( components::Market market,
entt::entity  good_entity 
)
private

◆ DoSystem()

void cqsp::common::systems::SysMarket::DoSystem ( )
overridevirtual

◆ Init()

void cqsp::common::systems::SysMarket::Init ( )
overridevirtual

◆ Interval()

int cqsp::common::systems::SysMarket::Interval ( )
inlineoverridevirtual

How often is DoSystem is run. It will be run every n number of ticks when the tick becomes a multiple of the number below. The default is 24

Reimplemented from cqsp::common::systems::ISimulationSystem.

Member Data Documentation

◆ base_prices

components::ResourceLedger cqsp::common::systems::SysMarket::base_prices
private

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