@Override
	public void run() {
		while(!close){
			try {
				
					
					Socket client = server.accept();
					System.out.println("ȴ");
					synchronized (Server.LOCK) {
						ClientId++;
						Server.connects.add(new TankConnect(client,ClientId));
					}
					Thread.sleep(500);
				
			} catch (IOException e) {
				e.printStackTrace();
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}