aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/economy/trading/MarketSellOrder.cpp
blob: 349bac6e57a5c3b119ef279f3e0a786dbf1542c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "MarketSellOrder.hpp"

using namespace OpenVic;

MarketSellOrder::MarketSellOrder(
   GoodDefinition const& new_good,
   const fixed_point_t new_quantity,
   const std::function<void(const SellResult)> new_after_trade
):
   good { &new_good },
   quantity { new_quantity },
   after_trade { new_after_trade }
   {}