public Target GetNextTarget(IDrone drone) { Target target; while (!targets[drone.GetId()].TryDequeue(out target)) { ; } return(target); }