Beginning save manager implement
This commit is contained in:
@ -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);
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user