Method: Camera#speed
- Defined in:
- lib/fantasy/camera.rb
#speed ⇒ Float
Note:
The the direction is represented by the @direction attribute
Controls the pixels per second which the Camera will move in the next frame.
Default 0.
63 64 65 |
# File 'lib/fantasy/camera.rb', line 63 def speed @speed end |