|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Context passed to every System::update call. More...
#include <World.hpp>
Public Member Functions | |
| template<typename T> | |
| T & | require () |
| Convenience accessor for services. | |
Public Attributes | |
| ecs::Registry & | registry |
| ECS entity/component storage. | |
| ServiceRegistry & | services |
| All engine services. | |
| f32 | deltaTime |
| Seconds since last frame. | |
Context passed to every System::update call.
Provides access to the ECS registry, all registered services, and frame timing. Systems should use this instead of global state.
|
inline |
| ecs::Registry& esengine::World::registry |
| ServiceRegistry& esengine::World::services |