import java.net.Socket;
import java.util.Vector;


public class GameServer {
	private Vector<GameRoom> gameRooms;
	private Vector<Connection> connections;
	
	public GameServer(){
		gameRooms = new Vector<GameRoom>(); 
		connections = new Vector<Connection>();
		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);
	}
}
