Esempio n. 1
0
 /// <summary>
 /// Determines what happens to the bout cards after a bout has ended
 /// </summary>
 public void DistributeBoutCards()
 {
     if (isPlayerTurn == isPlayerAttacking) //The current player is attacking
     {
         boutDeckViewer.Reset();
     }
     else if (isPlayerTurn) //Is human player and is defending
     {
         this.playerDeckViewer.DrawCards(boutDeckViewer.GetCards());
     }
     else //Is AI and is defending
     {
         this.enemyDeckViewer.DrawCards(boutDeckViewer.GetCards());
     }
 }