Method: MiniGL::Movement#speed
- Defined in:
- lib/minigl/movement.rb
#speed ⇒ Object (readonly)
A Vector with the current speed of the object (x: horizontal component, y: vertical component).
181 182 183 |
# File 'lib/minigl/movement.rb', line 181 def speed @speed end |