TimerClearSystem.ixx File
System that resets finished game timers each frame. More...
Included Headers
#include <span>
#include <helios.engine.runtime.timing.types>
#include <helios.engine.runtime.world.tags.SystemRole>
#include <helios.engine.runtime.world.UpdateContext>
#include <helios.engine.runtime.timing.TimerManager>
#include <helios.engine.runtime.timing.Timer>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | runtime |
| namespace | timing |
| namespace | systems |
Classes Index
| class | TimerClearSystem |
|
Resets finished game timers to an undefined state. More... | |
Description
System that resets finished game timers each frame.
File Listing
The file content with the documentation metadata removed is:
20using namespace helios::engine::runtime::timing;
22using namespace helios::engine::runtime::timing::types;
24export namespace helios::engine::runtime::timing::systems {
38 class TimerClearSystem {
43 TimerManager& timerManager_;
55 explicit TimerClearSystem(TimerManager& timerManager)
56 : timerManager_(timerManager) {}
63 void update(helios::engine::runtime::world::UpdateContext& updateContext) noexcept {
67 timer.setState(TimerState::Undefined);
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.