org.pilotix.server
Class PilotixServer
java.lang.Object
org.pilotix.server.PilotixServer
public class PilotixServer
- extends java.lang.Object
Pilotix : lance le serveur du jeu
Auteurs : - Flo
Constructor Summary |
PilotixServer(int port,
int fps)
Lance le serveur du jeu |
Method Summary |
void |
endGame()
Arrête la partie en cours |
static void |
main(java.lang.String[] args)
Main du serveur, instancie un nouveau PilotixServer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
theIH
public static IdHandler theIH
theSA
public static ServerArea theSA
theSMLT
public static ServerMainLoopThread theSMLT
theCT
public static ClockerThread theCT
theCHT
public static ConnexionHandlerThread theCHT
theXH
public static XMLHandler theXH
newCHTs
public static boolean newCHTs
theNewCHTs
public static java.util.LinkedList<ClientHandlerThread> theNewCHTs
theCHTs
public static java.util.LinkedList<ClientHandlerThread> theCHTs
dataPath
public static java.lang.String dataPath
theRL
public static ResourceLocator theRL
PilotixServer
public PilotixServer(int port,
int fps)
throws java.lang.Exception
- Lance le serveur du jeu
- Parameters:
port
- port TCP sur lequel le serveur doit écouterfps
- nombre d'images par seconde demandé (le serveur lui, fait ce
qu'il peut !)
- Throws:
java.lang.Exception
endGame
public void endGame()
- Arrête la partie en cours
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Main du serveur, instancie un nouveau PilotixServer. La présence de
l'option "-gui" permet de lancer l'interface graphique (classe
ServerGUI).
- Throws:
java.lang.Exception
Pilotix 2003-2013 - Stilisto : G.C.