|
CeresEngine 0.2.0
A game development framework
|
A manager that references and manages mutliple scenes. More...
#include <CeresEngine/Scene/Scene.hpp>
Public Member Functions | |
| void | add (const HScene &scene) |
| Adds a new scene to the manager. | |
| void | add (const ScenePtr &scene) |
| Adds a new scene to the manager. | |
| void | add (Scene *const scene) |
| Adds a new scene to the manager. | |
| void | remove (const HScene &scene) |
| Removes a scene from the manager. | |
| void | remove (const ScenePtr &scene) |
| Adds a new scene to the manager. | |
| void | remove (Scene *const scene) |
| Removes a scene from the manager. | |
| void | simulate (double dt) |
| Simulates all scenes registered. | |
Private Attributes | |
| Vector< Scene * > | mScenes |
| A vector of all registered scenes. | |
Friends | |
| class | Scene |
A manager that references and manages mutliple scenes.
Adds a new scene to the manager.
Removes a scene from the manager.
Adds a new scene to the manager.
Simulates all scenes registered.
| dt | The time step sicne the last simulation run. |