import java.net.Socket; import java.util.Vector; public class GameServer { private Vector gameRooms; private Vector connections; public GameServer(){ gameRooms = new Vector(); connections = new Vector(); GameRoom temp = new GameRoom(4,"Pupsik - 1"); temp.run(); gameRooms.add(temp); } public void addConnection(Socket clientSocket) { Connection temp = new Connection(clientSocket,"noob"); temp.start(); connections.add(temp); } }