
/**
 * A Robot extended to add the turnRight() capability
 * 
 * @author Russell C. Bjork
 * @version January 9, 2006
 */
import kareltherobot.*;

public class RightTurnerRobot extends Robot
{
	/** Constructor
	 *
	 *	@param street the starting street for this robot
	 *	@param avenue the starting avenue for this robot
	 *	@param direction the direction this robot is initially facing
	 *	@param beepers the number of beepers this robot has initially
	 */
	public RightTurnerRobot(int street, int avenue, Direction direction, int beepers)
	{
		super(street, avenue, direction, beepers);
	}
	
	/** Turn 90 degrees right
	 */
	public void turnRight()
	{
	    turnLeft();
	    turnLeft();
	    turnLeft();
	}
}