lib/minigl/movement.rb
def intersect?(obj)
      obj.x + obj.w > @x && obj.x < @x + @w && obj.y > get_y(obj) && obj.y <= @y + @h - obj.h
    end
def intersect?(obj)
      obj.x + obj.w > @x && obj.x < @x + @w && obj.y > get_y(obj) && obj.y <= @y + @h - obj.h
    end
Checks if an object is intersecting this ramp (inside the corresponding
 right triangle and at the floor level or above).

 Parameters:
 [obj] The object to check intersection with. It must have the +x+, +y+,
       +w+ and +h+ accessible attributes determining its bounding box.