aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.hpp
diff options
context:
space:
mode:
author Spartan322 <Megacake1234@gmail.com>2023-10-20 01:56:06 +0200
committer Spartan322 <Megacake1234@gmail.com>2023-10-20 10:48:38 +0200
commit3d728f054e3c214f840b7e63539aea0c4c5246b5 (patch)
treec25a4e654d597ca2ca699ffb2b1bde6b6eeba053 /src/openvic-simulation/GameManager.hpp
parent910d6cd73d7b1857ff481e1af060e780ec27d800 (diff)
Add Defines Loading
Caches start_date and end_date in DefineManager Add static `get_property` and HASID_PROPERTY macro to HasIdentifier
Diffstat (limited to 'src/openvic-simulation/GameManager.hpp')
-rw-r--r--src/openvic-simulation/GameManager.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvic-simulation/GameManager.hpp b/src/openvic-simulation/GameManager.hpp
index b2d42d3..0b2a40c 100644
--- a/src/openvic-simulation/GameManager.hpp
+++ b/src/openvic-simulation/GameManager.hpp
@@ -7,6 +7,7 @@
#include "openvic-simulation/history/HistoryManager.hpp"
#include "openvic-simulation/map/Map.hpp"
#include "openvic-simulation/military/MilitaryManager.hpp"
+#include "openvic-simulation/misc/Define.hpp"
#include "openvic-simulation/politics/PoliticsManager.hpp"
namespace OpenVic {
@@ -15,6 +16,7 @@ namespace OpenVic {
private:
Map map;
+ DefineManager define_manager;
EconomyManager economy_manager;
MilitaryManager military_manager;
ModifierManager modifier_manager;
@@ -37,6 +39,7 @@ namespace OpenVic {
GameManager(state_updated_func_t state_updated_callback);
REF_GETTERS(map)
+ REF_GETTERS(define_manager)
REF_GETTERS(economy_manager)
REF_GETTERS(military_manager)
REF_GETTERS(modifier_manager)