Class | EastDirection |
In: |
karel/direction.rb
|
Parent: | Direction |
Represents the East direction. Knows how to calculate the next counter-clockwise direction and how to compute the next street and avenue in this direction. It defines a singleton via the instance method.