313314315316317318319320321322323
} /* UIListener methods */ class MyUIListener implements UIListener { public void wantToQuit() { com.send(new LeavePkt()); inGame = false; synchronized (Client.this) { Client.this.notifyAll(); } }