class Pacman::Cage
base point for ghosts
Attributes
x[RW]
y[RW]
Public Class Methods
new(x, y)
click to toggle source
# File lib/pacman/cage.rb, line 4 def initialize(x, y) @x, @y = x, y end
Public Instance Methods
passable?()
click to toggle source
# File lib/pacman/cage.rb, line 8 def passable? true end