19#include <entt/entt.hpp>
Definition: universe.h:32
Definition: resource.h:76
bool SellGood(Universe &universe, entt::entity agent, const components::ResourceLedger &selling)
Definition: markethelpers.cpp:81
void AddParticipant(cqsp::common::Universe &universe, entt::entity market, entt::entity entity)
Definition: markethelpers.cpp:22
bool PurchaseGood(Universe &universe, entt::entity agent, const components::ResourceLedger &purchase)
Note: This will only buy the maximum resources that are in the market. If there aren't enough resourc...
Definition: markethelpers.cpp:50
double GetCost(cqsp::common::Universe &universe, entt::entity market, const components::ResourceLedger &ledger)
Definition: markethelpers.cpp:31
entt::entity CreateMarket(Universe &universe)
Creates a market two instance.
Definition: markethelpers.cpp:39
When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to ...
Definition: clientctx.h:21
common::Universe * universe
Definition: turnsavewindow.h:3