DefaultMatchStateTransitionRules Class
Provides the default set of match state transition rules. More...
Declaration
class helios::engine::mechanics::match::rules::DefaultMatchStateTransitionRules { ... }
Public Static Functions Index
| static std::span< const StateTransitionRule< MatchState > > | rules () |
|
Returns the default transition rules. More... | |
Private Static Attributes Index
| static constexpr StateTransitionRule< MatchState > | rules_[] |
Description
Provides the default set of match state transition rules.
Definition at line 26 of file DefaultMatchStateTransitionRules.ixx.
Public Static Functions
rules()
| inline nodiscard static |
Returns the default transition rules.
- Returns
A span of the predefined transition rules.
Definition at line 140 of file DefaultMatchStateTransitionRules.ixx.
141 return rules_;
142 }
Referenced by helios::engine::bootstrap::makeGameWorld.
Private Static Attributes
rules_
| constexpr static |
Definition at line 28 of file DefaultMatchStateTransitionRules.ixx.
28 static constexpr StateTransitionRule<MatchState> rules_[] = {
29
34 ),
35
40 ),
41
47 ),
48
49
54 ),
55
60 ),
61
67 ),
68
69
75 ),
76
81 ),
82
87 ),
88
89
90 // cancel states
95 ),
100 ),
105 ),
107 MatchState::Playing,
110 ),
115 ),
120 ),
121
123 MatchState::Playing,
126 ),
127
128
129
130
131 };
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.