|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--lane.sente.RobotController | +--DumbBot
Fields inherited from class lane.sente.RobotController |
theName, theRobot |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
DumbBot()
|
Method Summary | |
void |
AnimateGameElementSighting(AnimateGameElement e)
called when a robot sights an AnimateGameElement |
void |
elementCollision(Location otherLoc)
called when a robot collides with an element at the passed location |
java.lang.String |
getRobotName()
allows users to be creative and assign a name to thier robot |
void |
InanimateGameElementSighting(InanimateGameElement e)
called when Robot sights an InAnimate Game Element |
void |
run()
run method defined by user programmed robots More or less, the "Meat" of the robots, make it good |
void |
xCollision()
called when robot makes a collision with the wall on the x axis |
void |
yCollision()
called when robot makes a collision with the wall on the y axis |
void |
zCollision()
called when robot makes a collision with the wall on the z axis |
Methods inherited from class lane.sente.RobotController |
setRobot, start |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DumbBot()
Method Detail |
public void run()
RobotController
run
in class RobotController
public java.lang.String getRobotName()
RobotController
getRobotName
in class RobotController
lane.sente.RobotController
public void elementCollision(Location otherLoc)
RobotController
elementCollision
in class RobotController
lane.sente.RobotController
otherLoc
- The location of the other elementpublic void InanimateGameElementSighting(InanimateGameElement e)
RobotController
InanimateGameElementSighting
in class RobotController
lane.sente.RobotController
e
- The sighted Inanimate Game Elementpublic void AnimateGameElementSighting(AnimateGameElement e)
RobotController
AnimateGameElementSighting
in class RobotController
lane.sente.RobotController
e
- The sighted animategame elementpublic void xCollision()
RobotController
xCollision
in class RobotController
public void yCollision()
RobotController
yCollision
in class RobotController
public void zCollision()
RobotController
zCollision
in class RobotController
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |