aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/GameManager.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-05-22 11:26:37 +0200
committer Hop311 <hop3114@gmail.com>2023-05-22 11:26:37 +0200
commit212d591c31f4200b06d38e98b23c5c2bccde1772 (patch)
tree6a9964038de099006036c693b49080bf544d3747 /src/openvic/GameManager.hpp
parent15e960f93ced8c94a6a45ebb2b44d0705ff7f8f6 (diff)
Formatting / style cleanup
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);