diff options
Diffstat (limited to 'extension/src/openvic2/Good.hpp')
-rw-r--r-- | extension/src/openvic2/Good.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/extension/src/openvic2/Good.hpp b/extension/src/openvic2/Good.hpp new file mode 100644 index 0000000..dd2e8a8 --- /dev/null +++ b/extension/src/openvic2/Good.hpp @@ -0,0 +1,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(); + }; +}
\ No newline at end of file |