From 3550c455526eb6f8935f488810e73fe01a1177a9 Mon Sep 17 00:00:00 2001 From: Hop311 Date: Mon, 8 May 2023 22:01:13 +0100 Subject: Added GoodManager --- src/openvic2/GameManager.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/openvic2/GameManager.hpp') 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; -- cgit v1.2.3-56-ga3b1