Class Pirate

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

public class Pirate
extends Athlete


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

Pirate

public Pirate()
Method Detail

approachPile

public void approachPile()

numOfBeepersInPile

public int numOfBeepersInPile()

turnAppropriately

public void turnAppropriately(int beepers)