diff options
author | hop311 <hop3114@gmail.com> | 2024-06-04 00:54:38 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-06-06 21:30:56 +0200 |
commit | 0ba36e6762615d17605a573a036aff5bf84dfc95 (patch) | |
tree | aea64483ffb003d74c0671f9f2a4db878a3b8cb3 /extension/src/openvic-extension/singletons/ModelSingleton.hpp | |
parent | fb74bc86d194b50cb3277c7f367a5e5a0316c948 (diff) |
Province const/mutable + proper State namesprovince-const-mutable
Diffstat (limited to 'extension/src/openvic-extension/singletons/ModelSingleton.hpp')
-rw-r--r-- | extension/src/openvic-extension/singletons/ModelSingleton.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 <openvic-simulation/military/UnitInstance.hpp> 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<T*> const& units, godot::TypedArray<godot::Dictionary>& unit_array) const; bool add_building_dict( - BuildingInstance const& building, Province const& province, godot::TypedArray<godot::Dictionary>& building_array + BuildingInstance const& building, ProvinceInstance const& province, + godot::TypedArray<godot::Dictionary>& building_array ) const; public: |