|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
de.tud.dvs1.mmpgp2p.MmpgP2PServiceThread
de.tud.dvs1.mmpgp2p.ClientThread
de.tud.dvs1.utils.BotPlayer
public class BotPlayer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static java.lang.String[] |
botNames
|
| Fields inherited from class de.tud.dvs1.mmpgp2p.ClientThread |
|---|
MAX_WAIT_NOP, STATUS_PAUSEING, STATUS_PLAYING, STATUS_STARTING, STATUS_UNDEFINED |
| Fields inherited from class de.tud.dvs1.mmpgp2p.MmpgP2PServiceThread |
|---|
CR, logSystemStatsInterval, logSystemStatsLast, logSystemStatsStart, logSystemStatsWriter, MAGIC |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
BotPlayer(java.util.Properties p)
|
|
| Method Summary | |
|---|---|
void |
attack(GameObject enemy)
|
void |
gameWorldUpdated()
Diese Methode wird aufgerufen, sobald die Welt sich geändert hat. |
void |
log(java.lang.Exception e)
|
void |
log(java.lang.String s)
|
static void |
main(java.lang.String[] args)
Hauptprogramm starten. |
| Methods inherited from class de.tud.dvs1.mmpgp2p.ClientThread |
|---|
addCommand, closedConnection, executeCommand, getAvatars, getGameWorld, getRCInformationString, getTicket, incomingConnection, incomingData, login, logout, pauseGame, playGame, run, setGZIP, startGame, stopClient |
| Methods inherited from class de.tud.dvs1.mmpgp2p.MmpgP2PServiceThread |
|---|
closeServerConnectionWorker, doLogSystemStats, getConnectionWorker, getDebug, getProperties, getProperty, getProperty, getServerConnectionWorker, getSystemLoad, getSystemMemory, getThreadName, getTime, getTraffic, initSystemStats, isRunning, isStarting, log_debug, log_debug, logSystemStats, openConnection, openServerConnection, printSystemStatsFirstLine, readFirstLine, resetSystemStats, setDebug, setProperty, setRunning, stopThread, waitFor, waitForShutdown |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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 |
| Field Detail |
|---|
public static final java.lang.String[] botNames
| Constructor Detail |
|---|
public BotPlayer(java.util.Properties p)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public void gameWorldUpdated()
ClientThread
gameWorldUpdated in class ClientThreadpublic void attack(GameObject enemy)
public void log(java.lang.String s)
log in class MmpgP2PServiceThreadpublic void log(java.lang.Exception e)
log in class MmpgP2PServiceThread
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||