aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/Good.cpp
blob: ecd2bfb52469c28e3ce4baa771b7f0772c8ca3f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "Good.hpp"

using namespace OpenVic2;;

Good::Good() = default;

Good::Good(const godot::String& identifier, const godot::String& category, price_t cost, const godot::String& colour,
         bool isAvailable, bool isTradable, bool isMoney, bool hasOverseasPenalty) {
   this->identifier = identifier;
   this->category = category;
   this->cost = cost;
   this->colour = colour;
   this->isAvailableAtStart = isAvailable;
   this->isTradable = isTradable;
   this->isMoney = isMoney;
   this->hasOverseasPenalty = hasOverseasPenalty;
}

Good::~Good() = default;