public static PathQuad load(BufferedReader reader, ArrayList<Entity> props) {
		String line;
		try {
			line = reader.readLine();
			String[] temp = line.split(";");
			
			BufferedImage hitmap = new BufferedImage(Integer.parseInt(temp[0]), Integer.parseInt(temp[1]), BufferedImage.TYPE_INT_RGB);
			PathQuad.size = new Dimension(Integer.parseInt(temp[0]), Integer.parseInt(temp[1]));
			Graphics2D g = hitmap.createGraphics();
			
			while((line = reader.readLine()) != null && !line.matches("<END>")) {
				if(line.matches("<FLAT>"))
					g.setColor(Color.RED);
				else {
					temp = line.split(";");
					g.fillRect(Integer.parseInt(temp[0]), Integer.parseInt(temp[1]), Integer.parseInt(temp[2]), Integer.parseInt(temp[3]));
				}
			}
			
			g.setColor(Color.WHITE);
			for(int x = 0; x<props.size(); x++) {
				if(props.get(x).isSolid())
					g.fillRect((int)props.get(x).getBox().getX(), (int)props.get(x).getBox().getY(), (int)props.get(x).getBox().getWidth(), (int)props.get(x).getBox().getHeight());
			}
			g.dispose();

			return new PathQuad(null, 0, 0, hitmap);
		} catch (IOException e) {
			System.err.println("The scene file has been misplaced!");
	    	e.printStackTrace();
		}
		
		System.out.println("Failed to load PathQuad.");
		return null;
	}