Method: MiniGL::Movement#bounds

Defined in:
lib/minigl/movement.rb

#boundsObject

Returns the bounding box as a Rectangle.



214
215
216
# File 'lib/minigl/movement.rb', line 214

def bounds
  Rectangle.new @x, @y, @w, @h
end