|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.fcps.karel2.Item
edu.fcps.karel2.Robot
Athlete
Pirate
public class Pirate
| 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 |
|---|
public Pirate()
| Method Detail |
|---|
public void approachPile()
public int numOfBeepersInPile()
public void turnAppropriately(int beepers)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||