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