aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/economy/trading/SellResult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/economy/trading/SellResult.cpp')
-rw-r--r--src/openvic-simulation/economy/trading/SellResult.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/openvic-simulation/economy/trading/SellResult.cpp b/src/openvic-simulation/economy/trading/SellResult.cpp
new file mode 100644
index 0000000..91de626
--- /dev/null
+++ b/src/openvic-simulation/economy/trading/SellResult.cpp
@@ -0,0 +1,11 @@
+#include "SellResult.hpp"
+
+using namespace OpenVic;
+
+SellResult::SellResult(
+ const fixed_point_t new_quantity_sold,
+ const fixed_point_t new_money_gained
+) :
+ quantity_sold { new_quantity_sold },
+ money_gained { new_money_gained }
+ {} \ No newline at end of file