public GameObject GetClosestAlly(IGoap allyType, GameObject allySeeker) { GameObject potentialMate = null; //change this potentialMate = FindClosest.FindClosestObject(enemyDirectory[allyType.GetType()], allySeeker); return(potentialMate); }
public void Deconstruct() { health.Die(ourEnemyType.GetType()); }