diff options
author | hop311 <hop3114@gmail.com> | 2023-12-26 23:40:50 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2023-12-26 23:40:50 +0100 |
commit | dfa42bc38ebc34904b2325a88cdd16514044cfcb (patch) | |
tree | 1ac5bbac53d493682de60d1285c80b9be0ea40c0 /src/openvic-simulation/politics/PoliticsManager.hpp | |
parent | bff91f78f9c5339079c10adfbf8232e5159c1a2d (diff) |
Added political/policy rules
Diffstat (limited to 'src/openvic-simulation/politics/PoliticsManager.hpp')
-rw-r--r-- | src/openvic-simulation/politics/PoliticsManager.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/openvic-simulation/politics/PoliticsManager.hpp b/src/openvic-simulation/politics/PoliticsManager.hpp index 1111f0a..d2ed380 100644 --- a/src/openvic-simulation/politics/PoliticsManager.hpp +++ b/src/openvic-simulation/politics/PoliticsManager.hpp @@ -6,12 +6,14 @@ #include "openvic-simulation/politics/NationalFocus.hpp" #include "openvic-simulation/politics/NationalValue.hpp" #include "openvic-simulation/politics/Rebel.hpp" +#include "openvic-simulation/politics/Rule.hpp" namespace OpenVic { struct PoliticsManager { private: GovernmentTypeManager PROPERTY_REF(government_type_manager); IdeologyManager PROPERTY_REF(ideology_manager); + RuleManager PROPERTY_REF(rule_manager); IssueManager PROPERTY_REF(issue_manager); NationalValueManager PROPERTY_REF(national_value_manager); NationalFocusManager PROPERTY_REF(national_focus_manager); @@ -25,7 +27,9 @@ namespace OpenVic { PopManager const& pop_manager, GoodManager const& good_manager, ModifierManager const& modifier_manager, ast::NodeCPtr root ) { - return national_focus_manager.load_national_foci_file(pop_manager, ideology_manager, good_manager, modifier_manager, root); + return national_focus_manager.load_national_foci_file( + pop_manager, ideology_manager, good_manager, modifier_manager, root + ); } inline bool load_rebels_file(ast::NodeCPtr root) { return rebel_manager.load_rebels_file(ideology_manager, government_type_manager, root); |