Exemplo n.º 1
0
 // TODO: ThinkLoop
 public void ThinkLoop()
 {
     if (controlStatus == Status.IDLE && deliberatorOn)
     {
         printMap();
         string nextaction = deliberator.GetNextAction();
         controlStatus = Status.EXECUTING;
         botActions.DoAction(nextaction);
     }
 }
Exemplo n.º 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);
         }
     }
 }