| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--java.lang.Thread
        |
        +--eapms.PlayerCom
Used for communicating with the player during gameplay.
| Field Summary | |
| protected static int | repndxThe index of the capturing group in the regexin which the
  format codes will be found. | 
| protected static java.lang.String | rgxThe color formatting tags for player communication are [[...]], where...is the format string
  described inColorFormatter. | 
| Fields inherited from class java.lang.Thread | 
| MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY | 
| Constructor Summary | |
| PlayerCom(java.net.Socket sock,
          eapms.ActionControl action_con,
          eapms.muserver the_server,
          eapms.WorldObject the_world) | |
| Method Summary | |
|  void | game_runningOFF() | 
|  eapms.ActionControl | getActionCon() | 
|  eapms.muserver | getServer() | 
|  void | printToPlayer(java.lang.String line) | 
|  void | run() | 
|  void | shutdown() | 
| 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 | 
| Field Detail | 
protected static final java.lang.String rgx
[[...]], where ... is the format string
  described in ColorFormatter.
eapms.ColorFormatter.stringReplace(java.lang.String), 
Constant Field Valuesprotected static final int repndx
the regex in which the
  format codes will be found.
| Constructor Detail | 
public PlayerCom(java.net.Socket sock,
                 eapms.ActionControl action_con,
                 eapms.muserver the_server,
                 eapms.WorldObject the_world)
          throws java.io.IOException
| Method Detail | 
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void game_runningOFF()
public void printToPlayer(java.lang.String line)
                   throws java.io.IOException
java.io.IOExceptionpublic eapms.muserver getServer()
public eapms.ActionControl getActionCon()
public void shutdown()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||