private void handleText(BufferedReader in) throws IOException {
		String line;
		int size = Integer.parseInt(in.readLine());
		int curIndex = 5;
		objects = new GameObject[size+4];
		
		objects[1] = new GameObject(new Rectangle(50,750,700,50),Color.blue,BLOCK_BLUE);
		objects[2] = new GameObject(new Rectangle(0,50,50,700),Color.red,BLOCK_RED);
		objects[3] = new GameObject(new Rectangle(50,0,700,50),Color.green,BLOCK_GREEN);
		objects[4] = new GameObject(new Rectangle(750,50,50,700),Color.yellow,BLOCK_YELLOW);
		
		while ((line = in.readLine()) != null) {
			int indexOfComment = line.indexOf("//");
			if(indexOfComment == 0) {
				continue;
			}
			if(indexOfComment != -1) {
				System.out.println("Line starting with comment");
				line = line.substring(0, indexOfComment).trim();
			} else {
				System.out.println("Line without comment");
			}
			
			String[] contents = line.split(":");
			System.out.println(contents[0]);
			if(contents[0].equals("map")) {
				objects[curIndex] = makeMapObject(contents);
				System.out.println("Made map object");
				curIndex++;
			} else if(contents[0].equals("player")) {
				objects[0] = new Player(new Rectangle(Integer.parseInt(contents[1]),Integer.parseInt(contents[2]),Integer.parseInt(contents[3]),Integer.parseInt(contents[4])));
				System.out.println("Made player");
			} else if(contents[0].equals("room")) {
				makeCustomRoom(contents);
				System.out.println("Made custom room");
			} else if(contents[0].equals("goal")){
				objects[curIndex] = new Goal(new Rectangle(Integer.parseInt(contents[1]),Integer.parseInt(contents[2]),50,50), Color.red);
				curIndex++;
			} else if(contents[0].equals("spikes")){
				objects[curIndex] = new Spikes(new Rectangle(Integer.parseInt(contents[1]),Integer.parseInt(contents[2]),80,40),Color.red);
				curIndex++;
			} else if(contents[0].equals("spikeball")){
				objects[curIndex] = new SpikeBall(new Rectangle(Integer.parseInt(contents[1]),Integer.parseInt(contents[2]),50,50),Color.red);
				curIndex++;
			}
		}
	}