|
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.
|
#include "core/actions/economy/markethelpers.h"#include "core/components/history.h"#include "core/components/market.h"Namespaces | |
| namespace | cqsp |
| namespace | cqsp::core |
| namespace | cqsp::core::actions |
Functions | |
| void | cqsp::core::actions::AddParticipant (Node &market_node, Node &participant) |
| double | cqsp::core::actions::GetCost (Node &market, const components::ResourceLedger &ledger) |
| Node | cqsp::core::actions::CreateMarket (Universe &universe) |
| Creates a market two instance. More... | |
| bool | cqsp::core::actions::PurchaseGood (Node &agent, const components::ResourceLedger &purchase) |
| Note: This will only buy the maximum resources that are in the market. If there aren't enough resources on the market, then we buy all the remaining resources on the market. You'll have to calculate how much you want later on More... | |
| bool | cqsp::core::actions::SellGood (Node &agent, const components::ResourceLedger &selling) |