Class: Pacman::BlinkyGhost

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

Overview

red 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) ⇒ BlinkyGhost

Returns a new instance of BlinkyGhost.



16
17
18
# File 'lib/pacman/ghost.rb', line 16

def initialize(x, y, direction)
  super(x, y, direction)
end