|
|||||||||
| 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
Harvester
public class Harvester
| Field Summary |
|---|
| Fields inherited from class edu.fcps.karel2.Robot |
|---|
beepers, direction |
| Fields inherited from class edu.fcps.karel2.Item |
|---|
x, y |
| Constructor Summary | |
|---|---|
Harvester()
|
|
Harvester(int x,
int y)
|
|
| Method Summary | |
|---|---|
void |
moveOneBlock()
|
void |
turnToTheNorth()
|
void |
turnToTheRight()
|
void |
workCorner()
|
| 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 Harvester(int x,
int y)
public Harvester()
| Method Detail |
|---|
public void workCorner()
workCorner in interface Workablepublic void moveOneBlock()
moveOneBlock in interface Workablepublic void turnToTheRight()
turnToTheRight in interface Workablepublic void turnToTheNorth()
turnToTheNorth in interface Workable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||