Class Republican

java.lang.Object
  extended by edu.fcps.karel2.Item
      extended by edu.fcps.karel2.Robot
          extended by Athlete
              extended by MazeEscaper
                  extended by Republican

public class Republican
extends MazeEscaper


Field Summary
 
Fields inherited from class edu.fcps.karel2.Robot
beepers, direction
 
Fields inherited from class edu.fcps.karel2.Item
x, y
 
Constructor Summary
Republican()
           
 
Method Summary
 void turnToTheNextSegment()
           
 void walkDownCurrentSegment()
           
 
Methods inherited from class Athlete
turnAround, turnRight
 
Methods inherited from class edu.fcps.karel2.Robot
explode, facingEast, facingNorth, facingSouth, facingWest, frontIsClear, getBeepers, getDirection, hasBeepers, leftIsClear, move, nextToABeeper, nextToARobot, pickBeeper, putBeeper, render, rightIsClear, turnLeft
 
Methods inherited from class edu.fcps.karel2.Item
getX, getY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Republican

public Republican()
Method Detail

walkDownCurrentSegment

public void walkDownCurrentSegment()
Specified by:
walkDownCurrentSegment in class MazeEscaper

turnToTheNextSegment

public void turnToTheNextSegment()
Specified by:
turnToTheNextSegment in class MazeEscaper