From c12e742ca980d7213e2bc08b902b63117aea54f6 Mon Sep 17 00:00:00 2001 From: wvpm <24685035+wvpm@users.noreply.github.com> Date: Mon, 4 Nov 2024 13:17:55 +0100 Subject: Implement artisanal production --- src/openvic-simulation/economy/trading/BuyResult.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/openvic-simulation/economy/trading/BuyResult.cpp (limited to 'src/openvic-simulation/economy/trading/BuyResult.cpp') diff --git a/src/openvic-simulation/economy/trading/BuyResult.cpp b/src/openvic-simulation/economy/trading/BuyResult.cpp new file mode 100644 index 0000000..452f3b9 --- /dev/null +++ b/src/openvic-simulation/economy/trading/BuyResult.cpp @@ -0,0 +1,11 @@ +#include "BuyResult.hpp" + +using namespace OpenVic; + +BuyResult::BuyResult( + const fixed_point_t new_quantity_bought, + const fixed_point_t new_money_left +) : + quantity_bought { new_quantity_bought }, + money_left { new_money_left } + {} \ No newline at end of file -- cgit v1.2.3-56-ga3b1