/// <summary> /// Checks if the goal has the required number of resources from current target. /// </summary> protected void ValidateJobComplete() { var isResourceRequired = goal.GetResourceRequirements().Any(g => g.Key == target.GetResourceType() && g.Value > 0); if (!isResourceRequired) { collectorAcademy.SetAgentTarget(); } }