|
Aegis2D
Modular C++26 2D game engine for networked games
|
One simulation step, as the systems see it. More...
#include <aegis2d/ecs/system.hpp>
Public Member Functions | |
| constexpr float | delta () const noexcept |
| Duration of the step in seconds, to scale values given per second. | |
Public Attributes | |
| core::Duration | step {} |
| Duration of the step, the fixed step of core::MainLoop. | |
| std::uint64_t | index = 0 |
| Number of the tick: 0 for the first Scheduler::update(), then one more per completed update. | |
One simulation step, as the systems see it.
|
inlineconstexprnoexcept |
Duration of the step in seconds, to scale values given per second.
step in seconds, e.g. about 0.0167F at 60 Hz. | std::uint64_t aegis2d::ecs::Tick::index = 0 |
Number of the tick: 0 for the first Scheduler::update(), then one more per completed update.
| core::Duration aegis2d::ecs::Tick::step {} |
Duration of the step, the fixed step of core::MainLoop.