aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/PoliticsManager.hpp
diff options
context:
space:
mode:
author zaaarf <me@zaaarf.foo>2023-12-28 00:53:02 +0100
committer zaaarf <me@zaaarf.foo>2023-12-28 00:53:02 +0100
commitd325f1070fda2c0aaee2aa9dccbbf89b7fae7153 (patch)
tree642e14678b56fb71be751257fa0672c8877104cc /src/openvic-simulation/politics/PoliticsManager.hpp
parentcc808c115d8ec6c7b6e47db47f81395b4d52941f (diff)
feat: rule and modifier loading for issues and reforms
Diffstat (limited to 'src/openvic-simulation/politics/PoliticsManager.hpp')
-rw-r--r--src/openvic-simulation/politics/PoliticsManager.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvic-simulation/politics/PoliticsManager.hpp b/src/openvic-simulation/politics/PoliticsManager.hpp
index d2ed380..4302072 100644
--- a/src/openvic-simulation/politics/PoliticsManager.hpp
+++ b/src/openvic-simulation/politics/PoliticsManager.hpp
@@ -34,5 +34,8 @@ namespace OpenVic {
inline bool load_rebels_file(ast::NodeCPtr root) {
return rebel_manager.load_rebels_file(ideology_manager, government_type_manager, root);
}
+ inline bool load_issues_file(ModifierManager const& modifier_manager, ast::NodeCPtr root) {
+ return issue_manager.load_issues_file(modifier_manager, rule_manager, root);
+ }
};
}