Method: RGSS::Rect#location

Defined in:
lib/rgss/stubs/rect.rb

#locationPoint

Returns the location of the top-left corner of the rectangle.

Returns:

  • (Point)

    the location of the top-left corner of the rectangle.



129
130
131
# File 'lib/rgss/stubs/rect.rb', line 129

def location
  @location
end