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