aboutsummaryrefslogtreecommitdiff
path: root/src/openvic2/Good.hpp
blob: 378bbc40849fc51f929805f8582b3c4eefe70cf7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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) {};
   };
}