|
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 <market.h>
Public Member Functions | |
| void | ResetLedgers () |
| ResourceLedger & | supply () |
| ResourceLedger & | demand () |
| ResourceLedger & | previous_supply () |
| ResourceLedger & | previous_demand () |
Public Attributes | |
| ResourceLedger | sd_ratio |
| ResourceLedger | volume |
| The amount of goods that changed hands. We can use this to calculate the GDP More... | |
| ResourceLedger | price |
| ResourceLedger | chronic_shortages |
| ResourceLedger | trade |
| ResourceLedger | resource_fulfilled |
| ResourceLedger | production |
| ResourceLedger | consumption |
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 |
| ResourceLedger cqsp::common::components::MarketInformation::consumption |
|
private |
| ResourceLedger cqsp::common::components::MarketInformation::price |
| ResourceLedger cqsp::common::components::MarketInformation::production |
| ResourceLedger cqsp::common::components::MarketInformation::resource_fulfilled |
| ResourceLedger cqsp::common::components::MarketInformation::sd_ratio |
| ResourceLedger cqsp::common::components::MarketInformation::trade |
| ResourceLedger cqsp::common::components::MarketInformation::volume |
The amount of goods that changed hands. We can use this to calculate the GDP