Class Swimmer

java.lang.Object
  extended by edu.fcps.karel2.Item
      extended by edu.fcps.karel2.Robot
          extended by Swimmer
All Implemented Interfaces:
java.lang.Runnable

public class Swimmer
extends Robot
implements java.lang.Runnable


Field Summary
 
Fields inherited from class edu.fcps.karel2.Robot
beepers, direction
 
Fields inherited from class edu.fcps.karel2.Item
x, y
 
Constructor Summary
Swimmer(int x)
           
 
Method Summary
 void run()
           
 
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

Swimmer

public Swimmer(int x)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable