Detection/state precedence
Last updated
Complex detection should specify precedence, for example:
authorization/exclusive gate;
disconnect/reset;
menu/edit mode;
reload/reset event;
weapon/profile swap;
firing transition;
per-shot advance;
idle cleanup.
A single transition function is preferable to unrelated blocks all writing current_id, shot_index, or mode.
Last updated

