samples/13_path_finding_algorithms/08_a_star/app/main.rb
# Signal that the user is going to be removing walls from the third grid
Signal that the user is going to be removing walls from the third grid
Signal that the user is going to be removing walls from the third grid
def a_star_mouse_over_wall?
    grid.walls.each_key do | wall |
      return true if inputs.mouse.point.inside_rect?(a_star_scale_up(wall))
    end
    false
  end
def a_star_mouse_over_wall? grid . walls . each_key do | wall | return true if inputs . mouse . point . inside_rect? ( a_star_scale_up ( wall ) ) end false end
Signal that the user is going to be removing walls from the third grid
Signal that the user is going to be removing walls from the third grid