Class for managing scenes.
More...
#include <SceneManager.hpp>
Class for managing scenes.
Definition at line 22 of file SceneManager.hpp.
◆ SceneManager() [1/3]
eng::SceneManager::SceneManager |
( |
| ) |
|
|
default |
◆ ~SceneManager()
eng::SceneManager::~SceneManager |
( |
| ) |
|
|
default |
◆ SceneManager() [2/3]
◆ SceneManager() [3/3]
◆ addScene()
void eng::SceneManager::addScene |
( |
std::unique_ptr< IScene > | scene | ) |
|
|
inline |
◆ getCurrentScene()
std::unique_ptr< IScene > & eng::SceneManager::getCurrentScene |
( |
| ) |
|
|
inline |
◆ getScene()
std::unique_ptr< IScene > & eng::SceneManager::getScene |
( |
const id | sceneId | ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ switchToScene()
void eng::SceneManager::switchToScene |
( |
const id | sceneId | ) |
|
|
inline |
◆ m_currentSceneId
id eng::SceneManager::m_currentSceneId = 1 |
|
private |
◆ m_scenes
std::unordered_map<id, std::unique_ptr<IScene> > eng::SceneManager::m_scenes |
|
private |
The documentation for this class was generated from the following file: