Class: SDL::Rect
- Inherits:
-
Struct
- Object
- Struct
- SDL::Rect
- Defined in:
- lib/sdl.rb
Instance Attribute Summary collapse
-
#h ⇒ Object
Returns the value of attribute h.
-
#w ⇒ Object
Returns the value of attribute w.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#h ⇒ Object
Returns the value of attribute h
146 147 148 |
# File 'lib/sdl.rb', line 146 def h @h end |
#w ⇒ Object
Returns the value of attribute w
146 147 148 |
# File 'lib/sdl.rb', line 146 def w @w end |
#x ⇒ Object
Returns the value of attribute x
146 147 148 |
# File 'lib/sdl.rb', line 146 def x @x end |
#y ⇒ Object
Returns the value of attribute y
146 147 148 |
# File 'lib/sdl.rb', line 146 def y @y end |