aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.cpp
diff options
context:
space:
mode:
author CptAlanSmith <123112708+CptAlanSmith@users.noreply.github.com>2023-09-24 20:06:36 +0200
committer GitHub <noreply@github.com>2023-09-24 20:06:36 +0200
commit5b0a02a1bd8caad21caa7d000173270d31df4201 (patch)
tree12d44479a568ece48286b67d6a0d2940495b445e /src/openvic-simulation/GameManager.cpp
parent33eeede65f7eede0e89420dbd8d83284ec6de2a7 (diff)
parenteb425a600c03ca02d922a1b20a2815a57104f3cc (diff)
Merge pull request #30 from OpenVicProject/dataloading-production
Implemented ProductionTypes
Diffstat (limited to 'src/openvic-simulation/GameManager.cpp')
-rw-r--r--src/openvic-simulation/GameManager.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/openvic-simulation/GameManager.cpp b/src/openvic-simulation/GameManager.cpp
index e314593..249808d 100644
--- a/src/openvic-simulation/GameManager.cpp
+++ b/src/openvic-simulation/GameManager.cpp
@@ -1,7 +1,5 @@
#include "GameManager.hpp"
-#include "openvic-simulation/utility/Logger.hpp"
-
using namespace OpenVic;
GameManager::GameManager(state_updated_func_t state_updated_callback)
@@ -56,6 +54,14 @@ IssueManager const& GameManager::get_issue_manager() const {
return issue_manager;
}
+ProductionTypeManager& GameManager::get_production_type_manager() {
+ return production_type_manager;
+}
+
+ProductionTypeManager const& GameManager::get_production_type_manager() const {
+ return production_type_manager;
+}
+
UnitManager& GameManager::get_unit_manager() {
return unit_manager;
}