class Pitchcar::Pieces::StraightLeftWall

Public Instance Methods

image() click to toggle source
# File lib/pieces/straight_left_wall.rb, line 4
def image
  if north?
    IMAGE.rotate(90)
  elsif east?
    IMAGE.rotate(180)
  elsif west?
    IMAGE
  elsif south?
    IMAGE.rotate(270)
  end
end
to_s() click to toggle source
# File lib/pieces/straight_left_wall.rb, line 16
def to_s
  'Slw'
end