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