aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/economy/trading/BuyResult.cpp
blob: 452f3b9d6c883148c3ead4f28844c0cf8fc2b9a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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 }
    {}