diff options
author | wvpm <24685035+wvpm@users.noreply.github.com> | 2024-11-04 13:17:55 +0100 |
---|---|---|
committer | wvpm <24685035+wvpm@users.noreply.github.com> | 2024-11-04 14:38:19 +0100 |
commit | c12e742ca980d7213e2bc08b902b63117aea54f6 (patch) | |
tree | d128c5f6abe32904b9a5a2a03718ace64c85c2e2 /src/openvic-simulation/economy/trading/BuyResult.cpp | |
parent | 89e9c05f4d6276efa82fe486156357f841f864c3 (diff) |
Implement artisanal productionartisanal_production
Diffstat (limited to 'src/openvic-simulation/economy/trading/BuyResult.cpp')
-rw-r--r-- | src/openvic-simulation/economy/trading/BuyResult.cpp | 11 |
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 |