Class: Pacman::PinkyGhost

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

Overview

pink 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) ⇒ 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