Method: Camera#position
- Defined in:
- lib/fantasy/camera.rb
#position ⇒ Coordinates
Coordinates object where x and y represent the position of the Camera in the World (no necessarily in the Screen).
Default Coordinates.zero.
39 40 41 |
# File 'lib/fantasy/camera.rb', line 39 def position @position end |