private void UseCardsOnTable()
 {
     foreach (CardInstance card in aiPlayerData.table)
     {
         while (card.numberOfUsesThisTurn < card.card.useLimit)
         {
             Debug.Log("Using card " + card.card.name + " ...");
             cardSystem.UseCard(card, determineBestTarget());
         }
     }
 }
Exemple #2
0
 void UseCard(CardData card)
 {
     _CardSystem.UseCard(card, _GameStateHolder._ActivePlayer, _GameStateHolder._InactivePlayer, _GameStateHolder._gameState);
 }