aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/GameManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic/GameManager.hpp')
-rw-r--r--src/openvic/GameManager.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/openvic/GameManager.hpp b/src/openvic/GameManager.hpp
index e1a9e9b..b8dfbf6 100644
--- a/src/openvic/GameManager.hpp
+++ b/src/openvic/GameManager.hpp
@@ -1,8 +1,8 @@
#pragma once
#include "GameAdvancementHook.hpp"
-#include "map/Map.hpp"
#include "economy/Good.hpp"
+#include "map/Map.hpp"
namespace OpenVic {
struct GameManager {
@@ -12,6 +12,7 @@ namespace OpenVic {
BuildingManager building_manager;
GoodManager good_manager;
GameAdvancementHook clock;
+
private:
time_t session_start; /* SS-54, as well as allowing time-tracking */
Date today;
@@ -21,6 +22,7 @@ namespace OpenVic {
void set_needs_update();
void update_state();
void tick();
+
public:
GameManager(state_updated_func_t state_updated_callback);