public BufferedImage draw(int chunkX, int chunkY)
	{
		BufferedImage image = new BufferedImage(Chunk.getPixelLength(), Chunk.getPixelLength(), BufferedImage.TYPE_INT_ARGB);
		Graphics2D gI = image.createGraphics();

		int x0 = chunkX*Chunk.lengthOfChunk, y0 = chunkY*Chunk.lengthOfChunk;
		for (int i = x0; i < x0+Chunk.lengthOfChunk; ++i)
		{
			for (int j = y0; j < y0+Chunk.lengthOfChunk; ++j)
			{
				if (buildings[i][j] != null)
				{
					gI.drawImage(buildings[i][j].draw(), (i-x0)*Building.lengthOfBuilding, (j-y0)*Building.lengthOfBuilding, Building.lengthOfBuilding, Building.lengthOfBuilding, null);
				}
			}
		}
		
		return image;
	}