org.pilotix.client
Class ClientMainLoopThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.pilotix.client.ClientMainLoopThread
All Implemented Interfaces:
java.lang.Runnable

public class ClientMainLoopThread
extends java.lang.Thread

Cette classe est utilisée pour recevoir des messages du serveur et pour mettre à jour ClientArea, Display3D et le tableau des joueurs dans GUIPanel, en fonction de ces messages.

Author:
Florent Sithimolada, Loïc Guibart, Grégoire Colbert
See Also:
MessageHandler, ClientArea, GUIPanel, Display3D

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ClientMainLoopThread()
          Constructeur.
 
Method Summary
 void endGame()
          Arrête le thread quand le joueur quitte la partie.
 void run()
          Boucle sur chaque frame en provenance du serveur.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientMainLoopThread

public ClientMainLoopThread()
Constructeur.

Method Detail

run

public void run()
Boucle sur chaque frame en provenance du serveur.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

endGame

public void endGame()
Arrête le thread quand le joueur quitte la partie.



artefarita.com/pilotix Pilotix 2003-2013 - Stilisto : G.C.