public void readCompressedMap() {
		Scanner scan;
		try {
			scan = new Scanner(new File(maps.get(mapNum)));

			height = scan.nextInt();
			width = scan.nextInt();

			tiles = new Cell[width][height];
			
			String tempLine;
			int linesBeen = 0;
			while(scan.hasNext()){
				tempLine = scan.nextLine();
				
				Scanner lineScan = new Scanner(tempLine);
				
				int runLength;
				int tempInt;
				
				int tilesBeen = 0;
				while(lineScan.hasNext()){
					runLength = lineScan.nextInt();
					tempInt = lineScan.nextInt();
					
					for(int i = 0; i < runLength; i++){
						if (tempInt == 10)
							character = new Crayon(tilesBeen * Cell.CELL_WIDTH, linesBeen * Cell.CELL_HEIGHT, this);
						else if (tempInt == 11)
							items.add(new Heart(tilesBeen * Cell.CELL_WIDTH, linesBeen * Cell.CELL_HEIGHT));
						else if (tempInt == 12)
							items.add(new LevelEnd(tilesBeen * Cell.CELL_WIDTH, linesBeen * Cell.CELL_HEIGHT));
						else {
							tiles[linesBeen][tilesBeen] = getWalltype(tempInt, tilesBeen * Cell.CELL_WIDTH, linesBeen * Cell.CELL_HEIGHT);
						}
						tilesBeen++;
					}
				}
				linesBeen++;
			}
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
	}