samples/13_path_finding_algorithms/05_dijkstra/app/main.rb
def mouse_over_wall?
    state.walls.each_key do | wall |
      return true if inputs.mouse.point.inside_rect?(scale_up(wall))
    end

    false
  end
# Signal that the user is going to be removing walls from the first grid
Signal that the user is going to be removing walls from the first grid
Signal that the user is going to be removing walls from the first grid
def mouse_over_wall?
    state.walls.each_key do | wall |
      return true if inputs.mouse.point.inside_rect?(scale_up(wall))
    end
    false
  end
def mouse_over_wall? state . walls . each_key do | wall | return true if inputs . mouse . point . inside_rect? ( scale_up ( wall ) ) end false end
Signal that the user is going to be removing walls from the first grid
Signal that the user is going to be removing walls from the first grid