public bool TakeCard(Card card) { Hand.Add(card); return(Hand.IsBusted); }
public Hand Clone() { Hand tmp = new Hand(cardPosition); for (int x = 0; x < cardPosition; x++) tmp.Add(cards[x]); return tmp; }
// ICloneable Object ICloneable.Clone() { Hand tmp = new Hand(cardPosition); for (int x = 0; x < cardPosition; x++) tmp.Add(cards[x]); return tmp; }
public void AddCard(Card card) { Hand.Add(card); }