diff options
author | Hop311 <Hop3114@gmail.com> | 2023-05-22 17:54:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 17:54:15 +0200 |
commit | 08ec6fe5fbf52d814d88c235aac84bb95ad4e322 (patch) | |
tree | 136a221eb5e7c895c8219778b3d206f2ed9e8e7f /src/openvic/map/Region.hpp | |
parent | 15e960f93ced8c94a6a45ebb2b44d0705ff7f8f6 (diff) | |
parent | 7874702f30d5855319faf197b10aed31f07f5e27 (diff) |
Merge pull request #5 from OpenVicProject/bmp
BMP palette parser + code style cleanup
Diffstat (limited to 'src/openvic/map/Region.hpp')
-rw-r--r-- | src/openvic/map/Region.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvic/map/Region.hpp b/src/openvic/map/Region.hpp index 953a3cc..331d883 100644 --- a/src/openvic/map/Region.hpp +++ b/src/openvic/map/Region.hpp @@ -7,6 +7,7 @@ namespace OpenVic { struct ProvinceSet { protected: std::vector<Province*> provinces; + public: size_t get_province_count() const; bool contains_province(Province const* province) const; @@ -18,8 +19,10 @@ namespace OpenVic { */ struct Region : HasIdentifier, ProvinceSet { friend struct Map; + private: Region(std::string const& new_identifier); + public: Region(Region&&) = default; |