|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--roboplayer.player.Player
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
Player(java.net.InetAddress host,
int port)
This constructor opens socket for connection with server |
|
| Method Summary | |
boolean |
init(java.lang.String teamName,
java.lang.String fileName)
Initialize body for player |
static void |
main(java.lang.String[] a)
|
void |
run()
This is main loop for player |
void |
showDebugPanel()
Show debug frame |
| 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 |
| Constructor Detail |
public Player(java.net.InetAddress host,
int port)
throws java.net.SocketException
| Method Detail |
public static void main(java.lang.String[] a)
throws java.lang.Exception
java.lang.Exception
public boolean init(java.lang.String teamName,
java.lang.String fileName)
teamName - team namefileName - file with player behaviour
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void showDebugPanel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||