diff options
Diffstat (limited to 'src/openvic/map/Region.hpp')
-rw-r--r-- | src/openvic/map/Region.hpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/openvic/map/Region.hpp b/src/openvic/map/Region.hpp new file mode 100644 index 0000000..953a3cc --- /dev/null +++ b/src/openvic/map/Region.hpp @@ -0,0 +1,28 @@ +#pragma once + +#include "Province.hpp" + +namespace OpenVic { + + struct ProvinceSet { + protected: + std::vector<Province*> provinces; + public: + size_t get_province_count() const; + bool contains_province(Province const* province) const; + std::vector<Province*> const& get_provinces() const; + }; + + /* REQUIREMENTS: + * MAP-6, MAP-44, MAP-48 + */ + struct Region : HasIdentifier, ProvinceSet { + friend struct Map; + private: + Region(std::string const& new_identifier); + public: + Region(Region&&) = default; + + colour_t get_colour() const; + }; +} |