Skip to main content

rules Folder

Folders Index

folderguards

Files Index

filehelios/engine/mechanics/match/rules/_module.ixx

Game state transition rules submodule. More...

fileDefaultMatchStateTransitionRules.ixx

Default transition rules for the game state machine. More...

Description

helios::engine::mechanics::match::rules

Transition rules for the match state machine.

Rules

ClassDescription
DefaultMatchStateTransitionRulesProvides the default set of match state transition rules
DefaultMatchStateTransitionGuardsGuard callbacks for conditional transitions

DefaultMatchStateTransitionRules

Defines standard transitions:

FromTransitionToGuard
UndefinedWarmupRequestWarmup
WarmupStartRequestStart
StartCountdownRequestCountdownisPlayerActive
CountdownPlayerSpawnRequestPlaying
PlayingPlayerDiedPlayerDefeated
PlayerDefeatedCountdownRequestCountdownhasLifeLeft
PlayerDefeatedGameOverRequestGameOverhasNoLifeLeft
GameOverWarmupRequestWarmup
GameOverStartRequestStart

Additional cancel/reset transitions allow returning to earlier states from most active states (e.g., Playing → Start, Countdown → Warmup).

Custom rules can be provided to the MatchStateManager constructor.



Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.