From 0ba36e6762615d17605a573a036aff5bf84dfc95 Mon Sep 17 00:00:00 2001 From: hop311 Date: Mon, 3 Jun 2024 23:54:38 +0100 Subject: Province const/mutable + proper State names --- extension/src/openvic-extension/singletons/ModelSingleton.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'extension/src/openvic-extension/singletons/ModelSingleton.hpp') diff --git a/extension/src/openvic-extension/singletons/ModelSingleton.hpp b/extension/src/openvic-extension/singletons/ModelSingleton.hpp index 17c2dd0..ad1a6d8 100644 --- a/extension/src/openvic-extension/singletons/ModelSingleton.hpp +++ b/extension/src/openvic-extension/singletons/ModelSingleton.hpp @@ -6,6 +6,8 @@ #include namespace OpenVic { + struct BuildingInstance; + class ModelSingleton : public godot::Object { GDCLASS(ModelSingleton, godot::Object) @@ -33,7 +35,8 @@ namespace OpenVic { bool add_unit_dict(ordered_set const& units, godot::TypedArray& unit_array) const; bool add_building_dict( - BuildingInstance const& building, Province const& province, godot::TypedArray& building_array + BuildingInstance const& building, ProvinceInstance const& province, + godot::TypedArray& building_array ) const; public: -- cgit v1.2.3-56-ga3b1