aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Map.hpp
diff options
context:
space:
mode:
author BrickPi <49528459+BrickPi@users.noreply.github.com>2023-12-04 23:03:34 +0100
committer hop311 <hop3114@gmail.com>2023-12-05 00:56:37 +0100
commit471d0c80ac0b62d7e5e538ccd921bf7c5c014307 (patch)
treec0411b2b6051bb274cc8d3fb39613fbd800df511 /src/openvic-simulation/map/Map.hpp
parent444a27726695478e44e0166e75df1f354b6432d5 (diff)
parente78249bea71e2503be77f9e4cfab6ffdf164126b (diff)
Merge pull request #79 from OpenVicProject/states
Diffstat (limited to 'src/openvic-simulation/map/Map.hpp')
-rw-r--r--src/openvic-simulation/map/Map.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvic-simulation/map/Map.hpp b/src/openvic-simulation/map/Map.hpp
index 638d7a5..f286276 100644
--- a/src/openvic-simulation/map/Map.hpp
+++ b/src/openvic-simulation/map/Map.hpp
@@ -7,6 +7,7 @@
#include "openvic-simulation/map/Region.hpp"
#include "openvic-simulation/map/TerrainType.hpp"
+#include "openvic-simulation/map/State.hpp"
namespace OpenVic {
namespace fs = std::filesystem;
@@ -69,6 +70,8 @@ namespace OpenVic {
Province::index_t get_index_from_colour(colour_t colour) const;
bool _generate_province_adjacencies();
+ StateManager PROPERTY_REF(state_manager);
+
public:
Map();