Beginning save manager implement

This commit is contained in:
2023-11-26 07:49:07 -06:00
parent 16353dfeb5
commit a99ae02f99
8 changed files with 294 additions and 1 deletions

View File

@ -16,6 +16,7 @@ Game::Game() {
void Game::init() {
renderHost.init(shared_from_this());
inputManager.init(shared_from_this());
saveManager.init(shared_from_this());
auto initialScene = GameInit::getInitialScene();
nextFrameScene = std::make_shared<Scene>(shared_from_this(), initialScene);

View File

@ -10,6 +10,7 @@
#include "time/TimeManager.hpp"
#include "asset/AssetManager.hpp"
#include "locale/LocaleManager.hpp"
#include "save/SaveManager.hpp"
namespace Dawn {
class Scene;
@ -25,6 +26,7 @@ namespace Dawn {
TimeManager timeManager;
AssetManager assetManager;
LocaleManager localeManager;
SaveManager saveManager;
/**
* Constructs the game instance, does not initialize anything.