#include "BuyUpToOrder.hpp" using namespace OpenVic; BuyUpToOrder::BuyUpToOrder( GoodDefinition const& new_good, const fixed_point_t new_max_quantity, const fixed_point_t new_money_to_spend, const std::function new_after_trade ) : good { &new_good }, max_quantity { new_max_quantity }, money_to_spend { new_money_to_spend }, after_trade { new_after_trade } {}