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