aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/HistoryMap.cpp
blob: b669208ba31633657dc98f79d14c0d7c9963b378 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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();
}