private void swap(int i, int j) { BlackjackCard temp = Cards[i]; Cards[i] = Cards[j]; Cards[j] = Cards[i]; }
//Get the next card from the shoe public BlackjackCard dealCard() { if (Cards.Count == 0) { createShoe(); } BlackjackCard returnCard = Cards[0]; Cards.RemoveAt(0); return(returnCard); }
public void addCard(BlackjackCard card) { Cards.Add(card); }
public Hand(BlackjackCard c1, BlackjackCard c2) { this.Cards = new List <BlackjackCard>(); this.Cards.Add(c1); this.Cards.Add(c2); }