Class: RGSS::Point

Inherits:
IVec2
  • Object
show all
Defined in:
lib/rgss/stubs/rect.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from IVec2

#+, #-, #[], #[]=, #empty?, #initialize, #set, #to_a, #to_h

Constructor Details

This class inherits a constructor from RGSS::IVec2

Instance Attribute Details

#xInteger

Returns:

  • (Integer)

60
61
62
# File 'lib/rgss/stubs/rect.rb', line 60

def x
  @x
end

#yInteger

Returns:

  • (Integer)

64
65
66
# File 'lib/rgss/stubs/rect.rb', line 64

def y
  @y
end