class Pitchcar::Pieces::Start
Constants
- IMAGE
Public Instance Methods
image()
click to toggle source
# File lib/pieces/start.rb, line 6 def image if north? IMAGE.rotate(270) elsif east? IMAGE elsif west? IMAGE.rotate(180) elsif south? IMAGE.rotate(90) end end
to_s()
click to toggle source
# File lib/pieces/start.rb, line 18 def to_s 'St' end