Skip to main content

commands Folder

Files Index

filehelios/engine/mechanics/timing/commands/_module.ixx

Aggregator for timer command types. More...

fileTimerControlCommand.ixx

Command for controlling game timer state transitions. More...

Description

helios::engine::mechanics::timing::commands

Timer control commands for the command buffer.

This namespace contains command classes used to request timer state transitions through the command system.

Commands

CommandDescription
TimerControlCommandCarries a TimerControlContext to request a timer state transition (start, pause, stop)

Usage

Commands are typically issued by game-state listeners or systems when a timer needs to change state:

 auto context = TimerControlContext{TimerState::Running, myTimerId};
 
 updateContext.queueCommand<TimerControlCommand>(std::move(context));


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.