|
|||||||||
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
Racer
public class Racer
Field Summary |
---|
Fields inherited from class edu.fcps.karel2.Robot |
---|
beepers, direction |
Fields inherited from class edu.fcps.karel2.Item |
---|
x, y |
Constructor Summary | |
---|---|
Racer(int y)
|
|
Racer(int x,
int y,
int dir,
int beepers)
|
Method Summary | |
---|---|
void |
jumpLeft()
|
void |
jumpRight()
|
void |
pick(int n)
|
void |
put(int n)
|
void |
run()
|
void |
shuttle(int spaces,
int beepers)
|
void |
sprint(int n)
|
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 Racer(int y)
public Racer(int x, int y, int dir, int beepers)
Method Detail |
---|
public void sprint(int n)
public void put(int n)
public void pick(int n)
public void jumpRight()
public void jumpLeft()
public void run()
run
in interface java.lang.Runnable
public void shuttle(int spaces, int beepers)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |