5#include "Application.hpp"
19 if (
nullptr == mInstance) {
32 mCurrentScene = scene;
48 std::shared_ptr<Scene> mCurrentScene;
Singleton class that manages scenes.
Definition SceneManager.hpp:11
static SceneManager & Instance()
Get the instance of the SceneManager.
Definition SceneManager.hpp:18
const std::shared_ptr< Scene > GetCurrentScene()
Get the current scene.
Definition SceneManager.hpp:40
void SetCurrentScene(std::shared_ptr< Scene > scene)
Set the current scene.
Definition SceneManager.hpp:31