aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.hpp
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.hpp
parent33eeede65f7eede0e89420dbd8d83284ec6de2a7 (diff)
parenteb425a600c03ca02d922a1b20a2815a57104f3cc (diff)
Merge pull request #30 from OpenVicProject/dataloading-production
Implemented ProductionTypes
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();