diff options
Diffstat (limited to 'extension/src/GameSingleton.hpp')
-rw-r--r-- | extension/src/GameSingleton.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extension/src/GameSingleton.hpp b/extension/src/GameSingleton.hpp index 80b2d95..21ca2d1 100644 --- a/extension/src/GameSingleton.hpp +++ b/extension/src/GameSingleton.hpp @@ -9,6 +9,7 @@ namespace OpenVic2 { struct TerrainVariant : HasIdentifier, HasColour { private: const godot::Ref<godot::Image> image; + public: TerrainVariant(std::string const& new_identfier, colour_t new_colour, godot::Ref<godot::Image> const& new_image); @@ -36,6 +37,7 @@ namespace OpenVic2 { godot::Error _parse_region_entry(godot::String const& identifier, godot::Variant const& entry); godot::Error _parse_terrain_entry(godot::String const& identifier, godot::Variant const& entry); void _tick(); + protected: static void _bind_methods(); |