|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.haphazard.system.ai.SolitaryHunterKiller
Silly AI that hunts the first character in sight and try to maim it
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
SolitaryHunterKiller()
|
|
SolitaryHunterKiller(Controller controller)
|
|
| Method Summary | |
Character |
findTarget()
|
void |
isRunning(boolean isRunning)
|
void |
run()
|
void |
setController(Controller controller)
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, 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 |
| Methods inherited from interface org.haphazard.system.ai.Brain |
start |
| Constructor Detail |
public SolitaryHunterKiller()
public SolitaryHunterKiller(Controller controller)
| Method Detail |
public void setController(Controller controller)
setController in interface Brainpublic void isRunning(boolean isRunning)
isRunning in interface Brainpublic void run()
run in interface java.lang.Runnablepublic Character findTarget()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||