aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/HistoryMap.cpp
blob: 7b5353f1d2338f532b7ede1442c017503e8c0715 (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 _HistoryMapHelperFuncs::_get_start_date(GameManager const& game_manager) {
   return game_manager.get_define_manager().get_start_date();
}

Date _HistoryMapHelperFuncs::_get_end_date(GameManager const& game_manager) {
   return game_manager.get_define_manager().get_end_date();
}