MatchFlowSystem Class
Automatically advances the match through its state phases. More...
Declaration
Public Member Typedefs Index
| using | EngineRoleTag = helios::engine::common::tags::SystemRole |
Public Member Functions Index
| void | update (helios::engine::runtime::world::UpdateContext &updateContext) noexcept |
|
Processes match state and issues transition commands. More... | |
Private Member Attributes Index
| MatchState | prevMatchState_ = MatchState::Undefined |
| StateTransitionIdType< MatchState > | prevMatchStateTransitionId_ = StateTransitionIdType<MatchState>::Undefined |
Description
Automatically advances the match through its state phases.
This system checks the current match state and issues appropriate transition commands to progress through: Undefined -> Warmup -> PlayerSpawn -> Playing.
Definition at line 42 of file MatchFlowSystem.ixx.
Public Member Typedefs
EngineRoleTag
|
Definition at line 50 of file MatchFlowSystem.ixx.
Public Member Functions
update()
| inline noexcept |
Processes match state and issues transition commands.
- Parameters
-
updateContext The current update context.
Definition at line 57 of file MatchFlowSystem.ixx.
References helios::engine::mechanics::match::types::CountdownRequest, helios::engine::mechanics::match::types::Start, helios::engine::mechanics::match::types::StartRequest, helios::engine::mechanics::match::types::Undefined, helios::engine::mechanics::match::types::Warmup and helios::engine::mechanics::match::types::WarmupRequest.
Private Member Attributes
prevMatchState_
|
Definition at line 44 of file MatchFlowSystem.ixx.
prevMatchStateTransitionId_
|
Definition at line 45 of file MatchFlowSystem.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.