public SunLightShrink(World world) { _world = world; _lightBfsQueue = new Queue <LightShrinkNode>(); _changedList = new List <Chunk>(); _lightSpread = new SunLightSpread(_world); }
public PrevRenderHandler(DataProcessorManager manager) { _manager = manager; // _sunLightSpread = new LightSpread(_manager.World); // _sunLightShrink = new LightShrink(_manager.World); _sunLightSpread = new SunLightSpread(_manager.World); _sunLightShrink = new SunLightShrink(_manager.World); // _blockLightSpread = new LightSpread(_manager.World,false); // _blockLightShrink = new LightShrink(_manager.World,false); _blockLightSpread = new BlockLightSpread(_manager.World); _blockLightShrink = new BlockLightShrink(_manager.World); _chunkChangedList = new List <Chunk>(); }
public LightControlGenerator(World world) { _world = world; _lightSpread = new SunLightSpread(world); }