public void DrawNewHand(Deck deck) { Hand = new Cards(); Chosen = new Cards(); for (int i = 0; i < 17; i++) { Hand.Add(deck.Draw()); } if (Landlord) { for (int i = 0; i < 3; i++) { Hand.Add(deck.Draw()); } } Hand.Sort(); }
public virtual void Sort() { Cards.Sort(); }
public virtual void Sort(IComparer <PlayingCard> sorter) { Cards.Sort(sorter); }
public void DrawNewHand(Deck deck) { Hand = new Cards(); Chosen = new Cards(); for (int i = 0; i < 17; i++) Hand.Add(deck.Draw()); if (Landlord) { for (int i = 0; i < 3; i++) Hand.Add(deck.Draw()); } Hand.Sort(); }