aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/Types.cpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-08-10 12:32:53 +0200
committer Hop311 <hop3114@gmail.com>2023-08-10 12:32:53 +0200
commit170ee25469322d25931050813a779dfbc2eaa4b0 (patch)
tree42bc9cc4a0e33ff1f1a64ae5e23edc4a52ca4320 /src/openvic/Types.cpp
parent8a08be3e7e8477973e243716d431ad7117acfa43 (diff)
Added distributions for pop type and culture
Diffstat (limited to 'src/openvic/Types.cpp')
-rw-r--r--src/openvic/Types.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/openvic/Types.cpp b/src/openvic/Types.cpp
index ab5d12a..c7ad3ae 100644
--- a/src/openvic/Types.cpp
+++ b/src/openvic/Types.cpp
@@ -29,3 +29,8 @@ std::string HasColour::colour_to_hex_string(colour_t const colour) {
std::string HasColour::colour_to_hex_string() const {
return colour_to_hex_string(colour);
}
+
+HasIdentifierAndColour::HasIdentifierAndColour(std::string const& new_identifier,
+ const colour_t new_colour, bool can_be_null)
+ : HasIdentifier { new_identifier },
+ HasColour { new_colour, can_be_null } {}