aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/ModelSingleton.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extension/src/openvic-extension/singletons/ModelSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/ModelSingleton.hpp5
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: