Class: Pacman::InkyGhost

Inherits:
Ghost show all
Defined in:
lib/pacman/ghost.rb

Overview

cyan ghost

Instance Attribute Summary

Attributes inherited from Ghost

#direction, #stopped, #x, #y

Attributes inherited from AnimatedObject

#animation_index

Instance Method Summary collapse

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