#include <SceneManager.h>
◆ addScene()
void SceneManager::addScene |
( |
Scene * |
scene | ) |
|
This method pushes a scene.
- Parameters
-
*scene | A pointer to a new scene. |
◆ getScene()
Scene * SceneManager::getScene |
( |
std::string |
sceneName | ) |
|
|
private |
A method which gets a scene.
- Parameters
-
sceneName | The scene's name. |
- Returns
- The needed scene.
◆ setCurrentScene()
void SceneManager::setCurrentScene |
( |
std::string |
sceneName | ) |
|
This method sets the current scene using a name.
- Parameters
-
sceneName | The name of the current scene. |
◆ updateScene()
void SceneManager::updateScene |
( |
| ) |
|
This method updates the current scene.
◆ currentScene
Scene* SceneManager::currentScene = nullptr |
|
private |
◆ m_scenes
std::vector<Scene *> SceneManager::m_scenes |
|
private |
The documentation for this class was generated from the following files: