public void load(){
		BufferedImage worldImg = null;
		try {
			URL ulr = getClass().getResource("/Worlds/"+name+".jpg");
			worldImg = ImageIO.read(new File(ulr.getPath()));
		} catch (IOException e) {}
		
		this.width = worldImg.getWidth();
		this.height = worldImg.getHeight();
		this.blocks = new Block[width][height];
		for(int x = 0; x < this.width; x++){
			for(int y = 0; y < this.height; y++){
				Block b = blockTypes.get(new Color(worldImg.getRGB(x, y)));
				if(null != b){
					this.blocks[x][y] = b.clone();
				}else{
					this.blocks[x][y] = new Blocks.Air();
					System.out.print(new Color(worldImg.getRGB(x, y)).getRed());
					System.out.print(", ");
					System.out.print(new Color(worldImg.getRGB(x, y)).getGreen());
					System.out.print(", ");
					System.out.println(new Color(worldImg.getRGB(x, y)).getBlue());
				}
			}
		}
	}