Method: Actor#direction
- Defined in:
- lib/fantasy/actor.rb
#direction ⇒ Coordinates
Note:
The the pixels per second is represented by the @speed
attribute
Controls the direction in which this Actor will move in the next frame.
Default Coordinates.zero
.
96 97 98 |
# File 'lib/fantasy/actor.rb', line 96 def direction @direction end |