CS4850 Final Project
|
Singleton class that manages scenes. More...
#include <SceneManager.hpp>
Public Member Functions | |
void | SetCurrentScene (std::shared_ptr< Scene > scene) |
Set the current scene. | |
const std::shared_ptr< Scene > | GetCurrentScene () |
Get the current scene. | |
Static Public Member Functions | |
static SceneManager & | Instance () |
Get the instance of the SceneManager. | |
Singleton class that manages scenes.
|
inline |
Get the current scene.
|
inlinestatic |
Get the instance of the SceneManager.
|
inline |
Set the current scene.
scene | The scene to set as the current scene |