Method: RGSS::Rect#initialize

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

#initializeRect #initialize(location, size) ⇒ Rect #initialize(x, y, width, height) ⇒ Rect

Creates a new instance of the RGSS::Rect class.

Overloads:

  • #initializeRect

    Creates a new empty rectangle.

  • #initialize(location, size) ⇒ Rect

    Creates a new rectangle with the specified location and size.

    Parameters:

  • #initialize(x, y, width, height) ⇒ Rect

    Creates a new rectangle with the specified dimensions.

    Parameters:

    • x (Numeric)
    • y (Numeric)
    • width (Numeric)
    • height (Numeric)


175
176
# File 'lib/rgss/stubs/rect.rb', line 175

def initialize(*args)
end