diff options
author | hop311 <hop3114@gmail.com> | 2024-11-04 01:13:42 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-11-10 00:24:30 +0100 |
commit | f54b11d67f527d4e975b4bd04d013f0ea2974363 (patch) | |
tree | a5ad3c361c4025959e697e3cc616efa7f6aa94d8 /src/openvic-simulation/pop | |
parent | a7c130a5c9d39a7d1e69e4e6c7170d9f5efc3c07 (diff) |
tmp
Diffstat (limited to 'src/openvic-simulation/pop')
-rw-r--r-- | src/openvic-simulation/pop/Culture.hpp | 8 |
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 { |