From 4794eeedd9abc1393526a97253bf9d59b5ecd179 Mon Sep 17 00:00:00 2001 From: BrickPi <49528459+BrickPi@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:12:00 -0600 Subject: Implement National Foci --- src/openvic-simulation/politics/PoliticsManager.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/openvic-simulation/politics/PoliticsManager.hpp') diff --git a/src/openvic-simulation/politics/PoliticsManager.hpp b/src/openvic-simulation/politics/PoliticsManager.hpp index 1423cf7..b30d1c0 100644 --- a/src/openvic-simulation/politics/PoliticsManager.hpp +++ b/src/openvic-simulation/politics/PoliticsManager.hpp @@ -4,6 +4,7 @@ #include "openvic-simulation/politics/Ideology.hpp" #include "openvic-simulation/politics/Issue.hpp" #include "openvic-simulation/politics/NationalValue.hpp" +#include "openvic-simulation/politics/NationalFocus.hpp" namespace OpenVic { struct PoliticsManager { @@ -12,15 +13,20 @@ namespace OpenVic { IdeologyManager ideology_manager; IssueManager issue_manager; NationalValueManager national_value_manager; + NationalFocusManager national_focus_manager; public: REF_GETTERS(government_type_manager) REF_GETTERS(ideology_manager) REF_GETTERS(issue_manager) REF_GETTERS(national_value_manager) + REF_GETTERS(national_focus_manager) inline bool load_government_types_file(ast::NodeCPtr root) { return government_type_manager.load_government_types_file(ideology_manager, root); } + inline bool load_national_foci_file(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); + } }; } -- cgit v1.2.3-56-ga3b1