Beispiel #1
0
 // TODO: ThinkLoop
 public void ThinkLoop()
 {
     if (controlStatus == Status.IDLE && deliberatorOn)
     {
         printMap();
         string nextaction = deliberator.GetNextAction();
         controlStatus = Status.EXECUTING;
         botActions.DoAction(nextaction);
     }
 }
Beispiel #2
0
 // TODO: ThinkLoop
 public void ThinkLoop()
 {
     if (controlStatus == Status.IDLE)
     {
         string nextaction = deliberator.GetNextAction();
         Debug.Log("NEXT ACTION: " + nextaction);
         if (nextaction != "")
         {
             controlStatus = Status.EXECUTING;
             botActions.DoAction(nextaction);
         }
     }
 }