public static TAClientListener startListenerThread(TAServer server) { TAClientListener l = new TAClientListener(server); new Thread(l.listen).Start(); return(l); }
public TAServer() { alive = true; initMessageCodeDictionary(); world = new TAWorld(); world.createScenes(); clients = new List <TAClient>(); clientListener = TAClientListener.startListenerThread(this); new TAServerInterface(this); }