Method: RGSS::Rect#size

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

#sizeSize

Returns the size (width and height) of the rectangle.

Returns:

  • (Size)

    the size (width and height) of the rectangle.



133
134
135
# File 'lib/rgss/stubs/rect.rb', line 133

def size
  @size
end