aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/economy/trading/BuyResult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/economy/trading/BuyResult.cpp')
-rw-r--r--src/openvic-simulation/economy/trading/BuyResult.cpp11
1 files changed, 11 insertions, 0 deletions
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