Example #1
0
 public void AddCard(Card card)
 {
     if (this.cardIndex < NUMBER_OF_PLAYER_CARDS)
     {
         this.cards[this.cardIndex++] = card;
     }
 }
Example #2
0
 public void SetCard(int index, Card value)
 {
     this.cards[index] = value;
 }