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