public void SpreadLight(Chunk chunk)
 {
     _lightSpread.ClearNode();
     SpreadInChunk(chunk);
     _lightSpread.SpreadInChunk(chunk);
     SpreadFromOtherChunk(chunk);
     _lightSpread.SpreadInChunk(chunk);
 }
コード例 #2
0
 public void ClearNode()
 {
     _lightBfsQueue.Clear();
     _lightSpread.ClearNode();
 }