public void loadMapParts(String directory, String[] partNames) throws IOException{
		for(int i = 0; i <= partNames.length-1; i++){
			FileReader fr = new FileReader(directory+partNames[i]);
			BufferedReader br = new BufferedReader(fr);
			int mapPartID = Integer.parseInt(br.readLine()); 
			int mapWidth = Integer.parseInt(br.readLine());
			int mapHeight = Integer.parseInt(br.readLine());
			MapPart temp = new MapPart(mapWidth, mapHeight);
			String currentString = br.readLine();
			String[] currentStringArray = currentString.split(":");
			for(int c = 0; c <= temp.partTiles[0].length-1; c++){
				for(int z = 0; z <= temp.partTiles.length-1; z++){
					temp.partTiles[z][c] = allTiles.get(Integer.parseInt(currentStringArray[z]));
				}
				if((currentString = br.readLine()) != null){
					currentStringArray = currentString.split(":");
				}
			}
			br.close();
			allMapParts.set(mapPartID, temp);
		}
	}