summaryrefslogtreecommitdiff
path: root/src/openvic2/GameManager.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-05-08 23:01:13 +0200
committer Hop311 <hop3114@gmail.com>2023-05-08 23:01:13 +0200
commit3550c455526eb6f8935f488810e73fe01a1177a9 (patch)
tree05bb2635d921de9ad138736d49e4b5ea7a419c23 /src/openvic2/GameManager.hpp
parent1838e79d6af83dbed2f1b387acf02aacca0eb4bc (diff)
Added GoodManager
Diffstat (limited to 'src/openvic2/GameManager.hpp')
-rw-r--r--src/openvic2/GameManager.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/openvic2/GameManager.hpp b/src/openvic2/GameManager.hpp
index fc5d344..5e46e58 100644
--- a/src/openvic2/GameManager.hpp
+++ b/src/openvic2/GameManager.hpp
@@ -2,6 +2,7 @@
#include "GameAdvancementHook.hpp"
#include "map/Map.hpp"
+#include "economy/Good.hpp"
namespace OpenVic2 {
struct GameManager {
@@ -9,9 +10,10 @@ namespace OpenVic2 {
Map map;
BuildingManager building_manager;
+ GoodManager good_manager;
GameAdvancementHook clock;
- time_t session_start; /* SS-54, as well as allowing time-tracking */
private:
+ time_t session_start; /* SS-54, as well as allowing time-tracking */
Date today;
state_updated_func_t state_updated;
bool needs_update;