BiomePainter.RegionUtil.RenderChunktobePopulated C# (CSharp) Method

RenderChunktobePopulated() private static method

private static RenderChunktobePopulated ( Chunk c, Graphics g, Brush brush, int offsetX, int offsetY ) : void
c Minecraft.Chunk
g System.Drawing.Graphics
brush System.Drawing.Brush
offsetX int
offsetY int
return void
        private static void RenderChunktobePopulated(Chunk c, Graphics g, Brush brush, int offsetX, int offsetY)
        {
            if (((byte)c.Root["Level"]["TerrainPopulated"]) == 0)
            {
                g.FillRectangle(brush, offsetX, offsetY, 16, 16);
            }
        }