diff options
author | zaaarf <zaaarf@proton.me> | 2023-09-23 22:36:56 +0200 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-09-23 22:36:56 +0200 |
commit | e27ed35e265f4cb5c9a5a2864364391eaea3e32d (patch) | |
tree | 863b552f21dbaf244288d9825966c02f5f6d9561 /src/openvic-simulation/GameManager.cpp | |
parent | 33eeede65f7eede0e89420dbd8d83284ec6de2a7 (diff) |
feat: implemented ProductionType, implemented (broken) loading for it
Diffstat (limited to 'src/openvic-simulation/GameManager.cpp')
-rw-r--r-- | src/openvic-simulation/GameManager.cpp | 10 |
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; } |