From 170ee25469322d25931050813a779dfbc2eaa4b0 Mon Sep 17 00:00:00 2001 From: Hop311 Date: Thu, 10 Aug 2023 11:32:53 +0100 Subject: Added distributions for pop type and culture --- src/openvic/Types.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/openvic/Types.cpp') 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 } {} -- cgit v1.2.3-56-ga3b1