Exemplo n.º 1
0
    public GameObject GetClosestAlly(IGoap allyType, GameObject allySeeker)
    {
        GameObject potentialMate = null;

        //change this
        potentialMate = FindClosest.FindClosestObject(enemyDirectory[allyType.GetType()], allySeeker);

        return(potentialMate);
    }
Exemplo n.º 2
0
 public void Deconstruct()
 {
     health.Die(ourEnemyType.GetType());
 }