[][src]Function rust_action_heroes::system::movement_solver::would_hit_obstacle

fn would_hit_obstacle(
    move_set: &HashSet<MovementEvent>,
    immovables: &ReadStorage<Immovable>,
    positions: &ReadStorage<Position>
) -> bool

Given a set of MovementEvents, determines if that set would collide with an immovable object -- like a wall.