MatchFlowSystem Class
Automatically advances the match through its state phases. More...
Declaration
Base class
| class | System |
|
Abstract base class for game systems. More... | |
Public Member Functions Index
| void | update (helios::engine::runtime::world::UpdateContext &updateContext) noexcept override |
|
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 38 of file MatchFlowSystem.ixx.
Public Member Functions
update()
| inline noexcept virtual |
Processes match state and issues transition commands.
- Parameters
-
updateContext The current update context.
Definition at line 51 of file MatchFlowSystem.ixx.
References helios::engine::mechanics::match::types::Finished, helios::engine::mechanics::match::types::PlayerDeath, helios::engine::mechanics::match::types::PlayerSpawn, helios::engine::mechanics::match::types::PlayerSpawnRequested, helios::engine::mechanics::match::types::QuitRequested, helios::engine::mechanics::match::types::StartRequested, helios::engine::mechanics::match::types::Undefined, helios::engine::mechanics::match::types::Warmup and helios::engine::mechanics::match::types::WarmupRequested.
Private Member Attributes
prevMatchState_
|
Definition at line 40 of file MatchFlowSystem.ixx.
prevMatchStateTransitionId_
|
Definition at line 41 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.