Method: RGSS::Rect#x

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

#xInteger

Returns the location of the top-left corner on the x-axis.

Returns:

  • (Integer)

    the location of the top-left corner on the x-axis.



113
114
115
# File 'lib/rgss/stubs/rect.rb', line 113

def x
  @x
end