aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/Good.hpp
blob: 1e2bd5edee0a5ff0897607589746ab14a5aebaaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

#include "Types.hpp"

namespace OpenVic2 {
   class Good : HasIdentifier {
   public:
      std::string category;
      price_t cost;
      std::string colour;
      bool isAvailable;
      bool isTradable;
      bool isMoney;
      bool hasOverseasPenalty;

      Good(Good&&) = default;
      Good(std::string const& identifier, std::string const& category, price_t cost, std::string const& colour,
         bool isAvailable, bool isTradable, bool isMoney, bool hasOverseasPenalty) : HasIdentifier(identifier),
                                                                  category(category),
                                                                  cost(cost),
                                                                  colour(colour),
                                                                  isAvailable(isAvailable),
                                                                  isMoney(isMoney),
                                                                  hasOverseasPenalty(hasOverseasPenalty) {};
   };
}