|
|||||||
| 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
|
+--LaneBot
| Fields inherited from class lane.sente.RobotController |
theName, theRobot |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
LaneBot()
|
|
| 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 LaneBot()
| Method Detail |
public void run()
RobotControllerrun in class RobotControllerpublic java.lang.String getRobotName()
RobotControllergetRobotName in class RobotControllerlane.sente.RobotControllerpublic void elementCollision(Location otherLoc)
RobotControllerelementCollision in class RobotControllerlane.sente.RobotControllerotherLoc - The location of the other elementpublic void InanimateGameElementSighting(InanimateGameElement e)
RobotControllerInanimateGameElementSighting in class RobotControllerlane.sente.RobotControllere - The sighted Inanimate Game Elementpublic void AnimateGameElementSighting(AnimateGameElement e)
RobotControllerAnimateGameElementSighting in class RobotControllerlane.sente.RobotControllere - The sighted animategame elementpublic void xCollision()
RobotControllerxCollision in class RobotControllerpublic void yCollision()
RobotControlleryCollision in class RobotControllerpublic void zCollision()
RobotControllerzCollision in class RobotController
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||