aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/map/Region.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic/map/Region.hpp')
-rw-r--r--src/openvic/map/Region.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvic/map/Region.hpp b/src/openvic/map/Region.hpp
index e67edaa..a3640ca 100644
--- a/src/openvic/map/Region.hpp
+++ b/src/openvic/map/Region.hpp
@@ -10,10 +10,11 @@ namespace OpenVic {
bool locked = false;
public:
- return_t add_province(Province* province);
+ bool add_province(Province* province);
void lock(bool log = false);
bool is_locked() const;
void reset();
+ bool empty() const;
size_t size() const;
void reserve(size_t size);
bool contains_province(Province const* province) const;