Skip to main content

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()

std::span< const StateTransitionRule< MatchState > > helios::engine::mechanics::match::rules::DefaultMatchStateTransitionRules::rules ()
inline nodiscard static

Returns the default transition rules.

Returns

A span of the predefined transition rules.

Definition at line 129 of file DefaultMatchStateTransitionRules.ixx.

129 [[nodiscard]] static std::span<const StateTransitionRule<MatchState>> rules() {
130 return rules_;
131 }

Referenced by helios::engine::bootstrap::makeGameWorld.

Private Static Attributes

rules_

StateTransitionRule<MatchState> helios::engine::mechanics::match::rules::DefaultMatchStateTransitionRules::rules_[]
constexpr static

Definition at line 28 of file DefaultMatchStateTransitionRules.ixx.

28 static constexpr StateTransitionRule<MatchState> rules_[] = {
29
34 ),
35
40 ),
41
47 ),
48
54 ),
55
61 ),
62
63
68 ),
69
70
75 ),
76
81 ),
82
88 ),
89
94 ),
95
96
102 ),
103
109 ),
110
115 )
116
117
118
119
120 };

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.