# File Springz.rb, line 352 def distance_to(other_point) dx = other_point.x-@x dy = other_point.y-@y Math.sqrt( dx*dx+dy*dy ) end