aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/Good.hpp
blob: dd2e8a818a37574861442d0e3d23350cc28433b5 (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
#pragma once

#include <string>
#include <godot_cpp/variant/string.hpp>

namespace OpenVic2 {
   class Good {
      public:
         using price_t = float;

         godot::String identifier;
         godot::String category;
         price_t cost;
         godot::String colour;
         bool isAvailableAtStart;
         bool isTradable;
         bool isMoney;
         bool hasOverseasPenalty;

         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);
         ~Good();
   };
}