Class: Pacman::PinkyGhost
- Inherits:
-
Ghost
- Object
- AnimatedObject
- Ghost
- Pacman::PinkyGhost
- Defined in:
- lib/pacman/ghost.rb
Overview
pink ghost
Instance Attribute Summary
Attributes inherited from Ghost
#direction, #stopped, #x, #y
Attributes inherited from AnimatedObject
Instance Method Summary collapse
-
#initialize(x, y, direction) ⇒ PinkyGhost
constructor
A new instance of PinkyGhost.
Constructor Details
#initialize(x, y, direction) ⇒ PinkyGhost
Returns a new instance of PinkyGhost.
23 24 25 |
# File 'lib/pacman/ghost.rb', line 23 def initialize(x, y, direction) super(x, y, direction) end |