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.

Methods

instance   new   next_street  

Public Class methods

Create the South direction

Public Instance methods

The next street in the direction faced (if facing North or South) The street the robot will be on if it moves in this direction

[Validate]