Class: Pacman::Arcade::Spawn
- Inherits:
-
Data
- Object
- Data
- Pacman::Arcade::Spawn
- Defined in:
- lib/pacman/arcade/spawn.rb
Overview
Where a ghost lives: its starting cell and the corner it retreats to in scatter mode.
Instance Attribute Summary collapse
-
#corner ⇒ Object
readonly
Returns the value of attribute corner.
-
#start ⇒ Object
readonly
Returns the value of attribute start.
Instance Attribute Details
#corner ⇒ Object (readonly)
Returns the value of attribute corner
6 7 8 |
# File 'lib/pacman/arcade/spawn.rb', line 6 def corner @corner end |
#start ⇒ Object (readonly)
Returns the value of attribute start
6 7 8 |
# File 'lib/pacman/arcade/spawn.rb', line 6 def start @start end |