aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/GameManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extension/src/openvic2/GameManager.hpp')
-rw-r--r--extension/src/openvic2/GameManager.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/extension/src/openvic2/GameManager.hpp b/extension/src/openvic2/GameManager.hpp
index 70e98bd..32183e3 100644
--- a/extension/src/openvic2/GameManager.hpp
+++ b/extension/src/openvic2/GameManager.hpp
@@ -10,6 +10,7 @@ namespace OpenVic2 {
Map map;
BuildingManager building_manager;
GameAdvancementHook clock;
+
private:
Date today;
state_updated_func_t state_updated;
@@ -18,6 +19,7 @@ namespace OpenVic2 {
void set_needs_update();
void update_state();
void tick();
+
public:
GameManager(state_updated_func_t state_updated_callback);