aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/PoliticsManager.hpp
diff options
context:
space:
mode:
author zaaarf <80046572+zaaarf@users.noreply.github.com>2023-12-27 00:12:17 +0100
committer GitHub <noreply@github.com>2023-12-27 00:12:17 +0100
commitcc808c115d8ec6c7b6e47db47f81395b4d52941f (patch)
tree1ac5bbac53d493682de60d1285c80b9be0ea40c0 /src/openvic-simulation/politics/PoliticsManager.hpp
parentbff91f78f9c5339079c10adfbf8232e5159c1a2d (diff)
parentdfa42bc38ebc34904b2325a88cdd16514044cfcb (diff)
Merge pull request #106 from OpenVicProject/rules
Added political/policy rules
Diffstat (limited to 'src/openvic-simulation/politics/PoliticsManager.hpp')
-rw-r--r--src/openvic-simulation/politics/PoliticsManager.hpp6
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);