Class | NorthDirection |
In: |
karel/direction.rb
|
Parent: | Direction |
Represents the North 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.