[−][src]Function rust_action_heroes::system::movement_solver::would_collide
fn would_collide(
Position { x: x1, y: y1 }: &Position,
Position { x: x2, y: y2 }: &Position
) -> bool
Very simple method to determine if two positions overlap.
Based on the name it should probably be a Position and a MovementEvent -- but I'm not demonstrating good API design!