Beispiel #1
0
 public void CheckBoardStateLoop()
 {
     SetNextActorControl();
     //need to, while moving, lock it
     //if someone is moving dont execute below
     //this needs to be futzed with the AP thing isnt quiiiite working
     ActiveBoard.HighlightHex(ActiveActor.Location);
     if (ActiveActor.Controllable)
     {
         if (ActiveActor.TurnState == ActorTurnState.WaitingForTurn)
         {
             ActiveActor.StartTurn();
         }
         HandleMouse.TacticalViewMouseHandle(ActiveBoard, Camera, ActiveActor);
     }
     else
     {
         ActiveActor.StartTurn();
         ActiveActor.UseAIMoveAction();
     }
 }