Exemplo n.º 1
0
        public void RecalculateBlockLight()
        {
            Queue <Block> lightSources = WorldProvider.GetLightSources();

            while (lightSources.Count > 0)
            {
                Block block = lightSources.Dequeue();
                block = GetConvertedBlock(block.Coordinates);
                Lighting.BlockLightCalculations.Calculate(this, block);
            }
        }