19#include <entt/entt.hpp>
39bool PurchaseGood(Node& agent,
const components::ResourceLedger& purchase);
40bool SellGood(Node& agent,
const components::ResourceLedger& selling);
44double GetCost(Node& market,
const components::ResourceLedger& ledger);
Definition: cityactions.cpp:23
Node CreateMarket(Universe &universe)
Creates a market two instance.
Definition: markethelpers.cpp:38
double GetCost(Node &market, const components::ResourceLedger &ledger)
Definition: markethelpers.cpp:31
bool 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 resourc...
Definition: markethelpers.cpp:45
void AddParticipant(Node &market_node, Node &participant)
Definition: markethelpers.cpp:24
bool SellGood(AuctionHouse &auction_house, Node &agent, Node &good, double price, double quantity)
Sells a good to the market
Definition: auctionhandler.cpp:67
core::Universe * universe
Definition: turnsavewindow.h:3