@Override
	public Color[][] getColors(double[][] heightmap, boolean[][] water) {
		Color[][] c = new Color[heightmap.length][heightmap.length];
		for (int x = 0; x < heightmap.length; x++)
			for (int y = 0; y < heightmap[x].length; y++) {
				int n = (int) (heightmap[x][y] * g);
				if (n > 255)
					n = 255;
				if (n < 0)
					n = 0;
				c[x][y] = new Color(n, n, n);
			}
		return c;
	}