コード例 #1
0
 public void Remove(ChunkCoordinates c)
 {
     HighPriorityQueue.TryRemove(c, out _);
     MidPriorityQueue.TryRemove(c, out _);
     LowPriorityQueue.TryRemove(c, out _);
 }
コード例 #2
0
 public bool HasPending()
 {
     return(HighPriorityQueue.Any(x => x.Value.Count > 0) || LowPriorityQueue.Any(x => x.Value.Count > 0) || MidPriorityQueue.Any(x => x.Value.Count > 0));
 }