aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.hpp
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-09-23 22:36:56 +0200
committer zaaarf <zaaarf@proton.me>2023-09-23 22:36:56 +0200
commite27ed35e265f4cb5c9a5a2864364391eaea3e32d (patch)
tree863b552f21dbaf244288d9825966c02f5f6d9561 /src/openvic-simulation/GameManager.hpp
parent33eeede65f7eede0e89420dbd8d83284ec6de2a7 (diff)
feat: implemented ProductionType, implemented (broken) loading for it
Diffstat (limited to 'src/openvic-simulation/GameManager.hpp')
-rw-r--r--src/openvic-simulation/GameManager.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openvic-simulation/GameManager.hpp b/src/openvic-simulation/GameManager.hpp
index 9d0c6cd..eb73331 100644
--- a/src/openvic-simulation/GameManager.hpp
+++ b/src/openvic-simulation/GameManager.hpp
@@ -9,6 +9,7 @@
#include "openvic-simulation/economy/Good.hpp"
#include "openvic-simulation/map/Map.hpp"
#include "openvic-simulation/units/Unit.hpp"
+#include "openvic-simulation/economy/ProductionType.hpp"
namespace OpenVic {
struct GameManager {
@@ -21,6 +22,7 @@ namespace OpenVic {
PopManager pop_manager;
IdeologyManager ideology_manager;
IssueManager issue_manager;
+ ProductionTypeManager production_type_manager;
UnitManager unit_manager;
GameAdvancementHook clock;
@@ -48,6 +50,8 @@ namespace OpenVic {
IdeologyManager const& get_ideology_manager() const;
IssueManager& get_issue_manager();
IssueManager const& get_issue_manager() const;
+ ProductionTypeManager& get_production_type_manager();
+ ProductionTypeManager const& get_production_type_manager() const;
UnitManager& get_unit_manager();
UnitManager const& get_unit_manager() const;
GameAdvancementHook& get_clock();