![]() |
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.
|
Historical information about the market Might change this to a different type of resource ledger so that we don't have so many lookups More...
#include <economy.h>
Public Member Functions | |
void | ResetLedgers () |
ResourceLedger & | supply () |
ResourceLedger & | demand () |
ResourceLedger & | previous_supply () |
ResourceLedger & | previous_demand () |
Public Attributes | |
ResourceLedger | sd_ratio |
ResourceLedger | ds_ratio |
ResourceLedger | volume |
The amount of goods that changed hands. We can use this to calculate the GDP More... | |
ResourceLedger | price |
ResourceLedger | latent_supply |
ResourceLedger | last_latent_demand |
ResourceLedger | latent_demand |
ResourceLedger | supply_difference |
ResourceLedger | chronic_shortages |
Private Attributes | |
ResourceLedger | _demand |
ResourceLedger | _supply |
ResourceLedger | _previous_demand |
ResourceLedger | _previous_supply |
bool | current = true |
Historical information about the market Might change this to a different type of resource ledger so that we don't have so many lookups
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
ResourceLedger cqsp::common::components::MarketInformation::chronic_shortages |
|
private |
ResourceLedger cqsp::common::components::MarketInformation::ds_ratio |
ResourceLedger cqsp::common::components::MarketInformation::last_latent_demand |
ResourceLedger cqsp::common::components::MarketInformation::latent_demand |
ResourceLedger cqsp::common::components::MarketInformation::latent_supply |
ResourceLedger cqsp::common::components::MarketInformation::price |
ResourceLedger cqsp::common::components::MarketInformation::sd_ratio |
ResourceLedger cqsp::common::components::MarketInformation::supply_difference |
ResourceLedger cqsp::common::components::MarketInformation::volume |
The amount of goods that changed hands. We can use this to calculate the GDP