Grounded collision-to-fall logic is repeated in wait.rs, walk.rs, run.rs, dash.rs, land.rs, and jump.rs. Air collision-to-landing logic is repeated in fall.rs, jump.rs, and air_dodge.rs.
Fix: extract shared grounded and airborne collision/update policies with explicit parameters such as can_walk_off and landing type. Add behavior-equivalence tests.
Severity: Architecture
Grounded collision-to-fall logic is repeated in wait.rs, walk.rs, run.rs, dash.rs, land.rs, and jump.rs. Air collision-to-landing logic is repeated in fall.rs, jump.rs, and air_dodge.rs.
Fix: extract shared grounded and airborne collision/update policies with explicit parameters such as can_walk_off and landing type. Add behavior-equivalence tests.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Severity: Architecture
Grounded collision-to-fall logic is repeated in wait.rs, walk.rs, run.rs, dash.rs, land.rs, and jump.rs. Air collision-to-landing logic is repeated in fall.rs, jump.rs, and air_dodge.rs.
Fix: extract shared grounded and airborne collision/update policies with explicit parameters such as can_walk_off and landing type. Add behavior-equivalence tests.