Exemple #1
0
 public void TakeTurn()
 {
     FindClosestPatrol();
     if (!patrol.GetPatrolState())
     {
         patrol.StartNewPatrol(closestRoute, unit.GetAvailableAP());
     }
     else if (patrol.GetPatrolState())
     {
         patrol.ContinuePatrol(unit.GetAvailableAP());
     }
 }