public DevelopmentCard[] GetDevelopmentCards() { var cards = new DevelopmentCard[this.cards.Count]; this.cards.CopyTo(cards, 0); return(cards); }
public void PlayDevelopmentCard(DevelopmentCard card) { this.HeldCards.Remove(card); this.PlayedCards.Add(card); if (card is KnightDevelopmentCard) { this.PlayedKnightCards++; } }
public bool TryGetNextCard(out DevelopmentCard card) { card = null; if (!this.HasCards) { return(false); } card = this.cards.Dequeue(); return(true); }
public virtual void AddDevelopmentCard(DevelopmentCard developmentCard) { this.HeldCards.Add(developmentCard); }