Container for entities, components, and simulation state.
More...
#include <scene.hpp>
Container for entities, components, and simulation state.
- Note
- Manages the complete game world state and simulation timing
- Warning
- Scene should be loaded/unloaded via SceneManager
◆ togglePause()
| void solarsim::Scene::togglePause |
( |
| ) |
|
|
inline |
Toggle simulation pause state.
- Note
- When paused, systems don't process entity updates
◆ toggleReverse()
| void solarsim::Scene::toggleReverse |
( |
| ) |
|
|
inline |
Toggle simulation direction (forward/reverse).
- Note
- Reverse mode may affect physics and animation systems
◆ paused
| bool solarsim::Scene::paused = false |
Whether simulation is paused
◆ registry
Registry managing all entities and components
◆ reverse
| bool solarsim::Scene::reverse = false |
Whether simulation runs in reverse
◆ timeScale
| float solarsim::Scene::timeScale = 1.0f |
Simulation speed multiplier
The documentation for this struct was generated from the following file: