-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commonize XEventTransition system code #157
Copy link
Copy link
Open
Labels
M: codeCode maintenance and quality.Code maintenance and quality.
Milestone
Description
In GitLab by @azriel91 on Aug 23, 2019, 11:09
There is an emerging pattern for transition systems, of the form:
XyzTransitionSystemis a transitions system that readsXEvents, and determines which sequence to transition to based onXTransition.- There may be multiple
XTransitions, which may be skipped if their (optional) requirement is not met.- The requirements need to read other
Componentvalues from the entity to determine if they are met.
Table:
| System | Subscribed event channel | Transition type |
|---|---|---|
CharacterControlTransitionsTransitionSystem |
ControlInputEvent |
CharacterControlTransition |
HitEffectTransitionSystem |
HitEvent |
HitTransition |
HittingEffectTransitionSystem |
HitEvent |
HittingTransition |
CharacterHitEffectSystem |
HitEvent |
CharacterHitTransition |
It is likely this pattern is going to be further used, and so generic code should be written to reduce the duplicated semantics of these types and logic.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
M: codeCode maintenance and quality.Code maintenance and quality.