pub enum TouchAction {
Shot,
Save,
Clear,
Boom,
Pass,
}Expand description
What a touch was trying to do with the ball, read at contact time.
This is the touch’s action axis: it sits alongside the orthogonal
possession axis (Possession, assigned retroactively) and the
contested flag, rather than competing with them in one slot. A touch can
therefore be both Boom (action) and Possession::Advance (outcome) — a
dump-in the player chases down stays a boom.
Actions are mutually exclusive; overlaps are resolved by a precedence ladder
(see TouchIntentionClassifier::classify). There is no “nothing” action:
a touch with no recognized action simply has no action tag, rather than a
catch-all value. Contested and first-touch context is preserved separately
on TouchActionResolution.
Variants§
Shot
Save
Clear
Boom
A hard hit sent a long way downfield into space (not toward a teammate,
not a defensive-third clear, not on goal). Booms count as booms even
when the hitter recovers them — recovery is recorded on the orthogonal
Possession axis.