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