Class: RGSS::Size

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from IVec2

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

Constructor Details

This class inherits a constructor from RGSS::IVec2

Instance Attribute Details

#heightInteger



75
76
77
# File 'lib/rgss/stubs/rect.rb', line 75

def height
  @height
end

#widthInteger



71
72
73
# File 'lib/rgss/stubs/rect.rb', line 71

def width
  @width
end

Instance Method Details

#offset(x, y) ⇒ Point #offset(other) ⇒ Point



87
88
# File 'lib/rgss/stubs/rect.rb', line 87

def offset
end

#offset!(x, y) ⇒ self #offset!(other) ⇒ self



100
101
# File 'lib/rgss/stubs/rect.rb', line 100

def offset!
end