// Processed by NMI's Java Code Viewer 4.8.2 © 1997-2000 B. Lemaire // Website: http://njcv.htmlplanet.com E-mail: info@njcv.htmlplanet.com // Copy registered to Evaluation Copy // Source File Name: ClientData.java import java.util.Vector; public class ClientData { static int winner = -1; static int myNumber = -1; static int connectionTimeout = 15; static int deafultConnectionTimeout = 15; static int timeLimit = 120; static boolean isTimeLimitUsed = true; static boolean isSpellerUsed = true; static String browserPath = new String("enter path"); static boolean timeOutReached; static boolean canBeDragged[][] = new boolean[15][15]; static char boardLetters[][] = new char[15][15]; static char bankLetters[] = new char[7]; static int letterValues[] = { 3, 8, 8, 4, 3, 6, 8, 6, 4, 12, 6, 4, 4, 4, 6, 7, 10, 3, 3, 3, 8, 8, 6, 12, 12, 12 }; static boolean myTurn; static int whoseTurn = -1; static int orderOfDisconnectedPlayer = -1; static boolean gameInProgress; static int playersScores[]; static int turnStatus = 166; static int turnScore; static Vector words = new Vector(); static String host = "localhost"; static int port; static String defaultHost = "localhost"; static int defaultPort = 4444; static String nick = "lior"; static String defaultNick = "lior"; static int clientsCurrentlyConnected; static boolean amI_Connected; static String nicks[]; static boolean connected[]; static int playersOrder[]; static boolean waitingForAnswer; public ClientData() { } static { playersScores = new int[C.MAX_NUM_OF_PLAYERS]; nicks = new String[C.MAX_NUM_OF_PLAYERS]; connected = new boolean[C.MAX_NUM_OF_PLAYERS]; playersOrder = new int[C.MAX_NUM_OF_PLAYERS]; } }