aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/MenuSingleton.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-07-26 22:17:43 +0200
committer GitHub <noreply@github.com>2024-07-26 22:17:43 +0200
commitf61760e725de0ae4878580a93bcd8ce456aa539f (patch)
treebbf41f999d630df44ac2327c302290fb10d819f4 /extension/src/openvic-extension/singletons/MenuSingleton.hpp
parent7dfb935447708cfdff664603eadafcbb4aa24042 (diff)
parent7c5de8f8d8fc7a9b861f23a4c1a249fb00e88b99 (diff)
Merge pull request #244 from OpenVicProject/country-instance
Update openvic-simulation to OpenVicProject/OpenVicSimulation@861acff
Diffstat (limited to 'extension/src/openvic-extension/singletons/MenuSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/MenuSingleton.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/extension/src/openvic-extension/singletons/MenuSingleton.hpp b/extension/src/openvic-extension/singletons/MenuSingleton.hpp
index b89f948..018a074 100644
--- a/extension/src/openvic-extension/singletons/MenuSingleton.hpp
+++ b/extension/src/openvic-extension/singletons/MenuSingleton.hpp
@@ -6,7 +6,9 @@
#include <openvic-simulation/types/OrderedContainers.hpp>
namespace OpenVic {
+ struct CountryInstance;
struct State;
+ struct ProvinceInstance;
class MenuSingleton : public godot::Object {
GDCLASS(MenuSingleton, godot::Object)
@@ -20,7 +22,7 @@ namespace OpenVic {
};
struct country_entry_t {
- CountryDefinition const& country;
+ CountryInstance const& country;
bool selected = true;
};