public bool PotentiallyHarvestingEgg(WorkerEgg newTarget) { // If the selected worker can be reassigned, // and is not the same as the new target, // and is not targeting or being targeted by the target, // have the new target process as a potential kill return(SelectedWorker != null && SelectedWorker != newTarget && (SelectedWorker.Victim == null || SelectedWorker.Victim != newTarget) && (newTarget.Victim == null || newTarget.Victim != SelectedWorker) && SelectedWorker.CanAssignToResource()); }