Method: MiniGL::Ramp#x
- Defined in:
- lib/minigl/movement.rb
#x ⇒ Object (readonly)
The x-coordinate of the top left corner of a rectangle that completely (and precisely) encloses the ramp (thought of as a right triangle).
57 58 59 |
# File 'lib/minigl/movement.rb', line 57 def x @x end |