diff options
author | Hop311 <Hop3114@gmail.com> | 2023-05-04 15:47:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 15:47:20 +0200 |
commit | 7791a18094efaf62377606a7e5a7cba85a4c7a64 (patch) | |
tree | cd3ebcae0f67b07488fadb31ba3b376b306e03f6 /extension/src/openvic2/map/Region.hpp | |
parent | 6fd8fc3a786370207508631e569c1e8f5ab0e4e3 (diff) | |
parent | 2420f8b8fdd2db84e053ebb2d7f6e4840171009e (diff) |
Merge pull request #106 from OpenVic2Project/simulation-submodule
Moved simulation code to separate submodule
Diffstat (limited to 'extension/src/openvic2/map/Region.hpp')
-rw-r--r-- | extension/src/openvic2/map/Region.hpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/extension/src/openvic2/map/Region.hpp b/extension/src/openvic2/map/Region.hpp deleted file mode 100644 index 8f1af70..0000000 --- a/extension/src/openvic2/map/Region.hpp +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once - -#include <set> - -#include "Province.hpp" - -namespace OpenVic2 { - - struct ProvinceSet { - protected: - std::set<Province*> provinces; - - public: - size_t get_province_count() const; - bool contains_province(Province const* province) const; - std::set<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; - }; -} |