From e27ed35e265f4cb5c9a5a2864364391eaea3e32d Mon Sep 17 00:00:00 2001 From: zaaarf Date: Sat, 23 Sep 2023 22:36:56 +0200 Subject: feat: implemented ProductionType, implemented (broken) loading for it --- src/openvic-simulation/GameManager.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/openvic-simulation/GameManager.cpp') 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; } -- cgit v1.2.3-56-ga3b1