From 4b39e77304094708d5c503b6a221386408cc4409 Mon Sep 17 00:00:00 2001 From: hop311 Date: Wed, 12 Jun 2024 23:24:00 +0100 Subject: Separated GameManager into Definition and Instance Managers --- src/openvic-simulation/history/HistoryMap.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/openvic-simulation/history/HistoryMap.cpp') 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(); } -- cgit v1.2.3-56-ga3b1