diff options
Diffstat (limited to 'src/openvic-simulation/history/HistoryMap.cpp')
-rw-r--r-- | src/openvic-simulation/history/HistoryMap.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/openvic-simulation/history/HistoryMap.cpp b/src/openvic-simulation/history/HistoryMap.cpp index 7b5353f..cbce5c3 100644 --- a/src/openvic-simulation/history/HistoryMap.cpp +++ b/src/openvic-simulation/history/HistoryMap.cpp @@ -1,15 +1,15 @@ #include "HistoryMap.hpp" -#include "openvic-simulation/GameManager.hpp" +#include "openvic-simulation/DefinitionManager.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_start_date(DefinitionManager const& definition_manager) { + return definition_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(); +Date _HistoryMapHelperFuncs::_get_end_date(DefinitionManager const& definition_manager) { + return definition_manager.get_define_manager().get_end_date(); } |