aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/HistoryMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/history/HistoryMap.cpp')
-rw-r--r--src/openvic-simulation/history/HistoryMap.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/openvic-simulation/history/HistoryMap.cpp b/src/openvic-simulation/history/HistoryMap.cpp
new file mode 100644
index 0000000..b669208
--- /dev/null
+++ b/src/openvic-simulation/history/HistoryMap.cpp
@@ -0,0 +1,15 @@
+#include "HistoryMap.hpp"
+
+#include "openvic-simulation/GameManager.hpp"
+
+using namespace OpenVic;
+
+HistoryEntry::HistoryEntry(Date new_date) : date { new_date } {}
+
+Date OpenVic::_get_start_date(GameManager const& game_manager) {
+ return game_manager.get_define_manager().get_start_date();
+}
+
+Date OpenVic::_get_end_date(GameManager const& game_manager) {
+ return game_manager.get_define_manager().get_end_date();
+}