Beispiel #1
0
        /// <summary>
        /// Method that returns which card the AI wants to play.
        /// </summary>
        /// <returns>The card.</returns>
        public Card ChooseCard()
        {
            Card c = _cardChooser.ChooseCard();

            if (c == null)
            {
                return(me.GetHand() [0]);
            }

            return(c);
        }
Beispiel #2
0
 /// <summary>
 /// Method that returns which card the AI wants to play.
 /// </summary>
 /// <returns>The card.</returns>
 public Card ChooseCard()
 {
     return(_cardChooser.ChooseCard());
 }