aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/pop/Culture.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/pop/Culture.hpp')
-rw-r--r--src/openvic-simulation/pop/Culture.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/openvic-simulation/pop/Culture.hpp b/src/openvic-simulation/pop/Culture.hpp
index 9fe06de..01a8268 100644
--- a/src/openvic-simulation/pop/Culture.hpp
+++ b/src/openvic-simulation/pop/Culture.hpp
@@ -35,6 +35,10 @@ namespace OpenVic {
public:
CultureGroup(CultureGroup&&) = default;
+
+ constexpr bool has_union_country() const {
+ return union_country != nullptr;
+ }
};
struct Culture : HasIdentifierAndColour {
@@ -54,6 +58,10 @@ namespace OpenVic {
public:
Culture(Culture&&) = default;
+
+ constexpr bool has_union_country() const {
+ return group.has_union_country();
+ }
};
struct CultureManager {