Class Dancer

java.lang.Object
  extended by edu.fcps.karel2.Item
      extended by edu.fcps.karel2.Robot
          extended by Athlete
              extended by Dancer
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
BreakDancer, SquareDancer, Waltzer

public abstract class Dancer
extends Athlete
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
Dancer()
           
Dancer(int x, int y, int dir, int beep)
           
 
Method Summary
abstract  void danceStep()
           
 void run()
           
 
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

Dancer

public Dancer(int x,
              int y,
              int dir,
              int beep)

Dancer

public Dancer()
Method Detail

danceStep

public abstract void danceStep()

run

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