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