aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/economy/Building.hpp
diff options
context:
space:
mode:
author BrickPi <49528459+BrickPi@users.noreply.github.com>2023-11-12 17:49:15 +0100
committer GitHub <noreply@github.com>2023-11-12 17:49:15 +0100
commitc8983f5cda0b396b76c9d1491cf4c8ff5997d420 (patch)
tree96b80c19116ea6685bad2bde34f0365df58fb408 /src/openvic-simulation/economy/Building.hpp
parentfd85491cdbb13760f039787e0d19d534a24027fb (diff)
parent83a61b6641c9e85c432953c39f9284d3101ce112 (diff)
Merge pull request #73 from OpenVicProject/history-integration
Apply Province Histories
Diffstat (limited to 'src/openvic-simulation/economy/Building.hpp')
-rw-r--r--src/openvic-simulation/economy/Building.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/openvic-simulation/economy/Building.hpp b/src/openvic-simulation/economy/Building.hpp
index e907e49..c2eb1ef 100644
--- a/src/openvic-simulation/economy/Building.hpp
+++ b/src/openvic-simulation/economy/Building.hpp
@@ -124,14 +124,15 @@ namespace OpenVic {
bool _can_expand() const;
- BuildingInstance(Building const& building);
-
public:
+ BuildingInstance(Building const& building);
BuildingInstance(BuildingInstance&&) = default;
Building const& get_building() const;
level_t get_current_level() const;
+ void set_level(level_t new_level);
+
ExpansionState get_expansion_state() const;
Date get_start_date() const;
Date get_end_date() const;