aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/Ideology.cpp
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-09-20 14:03:25 +0200
committer zaaarf <zaaarf@proton.me>2023-09-20 14:03:25 +0200
commitad17b83930d83c3bbe5d58cf30c54fe88ac5d927 (patch)
tree1f1f1d395f7d120ab7a23c42827f6c20253d48ba /src/openvic-simulation/politics/Ideology.cpp
parent63e5866381234d6627174869b7a27770daef20fd (diff)
feat: merged PartyIssue and PoliticalReform into single Issue structure
Diffstat (limited to 'src/openvic-simulation/politics/Ideology.cpp')
-rw-r--r--src/openvic-simulation/politics/Ideology.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openvic-simulation/politics/Ideology.cpp b/src/openvic-simulation/politics/Ideology.cpp
index afd1de9..43adfaa 100644
--- a/src/openvic-simulation/politics/Ideology.cpp
+++ b/src/openvic-simulation/politics/Ideology.cpp
@@ -9,6 +9,10 @@ Ideology::Ideology(const std::string_view new_identifier, colour_t new_colour, I
: HasIdentifierAndColour { new_identifier, new_colour, true, false }, group { new_group }, uncivilised { uncivilised },
spawn_date { spawn_date } {}
+IdeologyGroup const& Ideology::get_group() const {
+ return group;
+}
+
bool Ideology::is_uncivilised() const {
return uncivilised;
}