public void SetUpNextTurn(int rank)
 {
     currentUnit.CalculateTurnCounter(rank);
     if (!currentUnit.IsDead())
     {
         units.Add(currentUnit);
     }
     if (units.Count > 1)
     {
         for (int i = units.Count - 1; i >= 0; i--)
         {
             units[i].turnCounter -= units[0].turnCounter;
         }
     }
     ui.UpdatePartyButtonText();
     ui.DisableTargetButtons();
     ui.EnableMainButtons();
     NextTurn();
 }