Exemplo n.º 1
0
 // starting position of hand.
 private void InitialDealToHand(List <Card> HandInPlay)
 {
     HandInPlay.Add(DeckInUse[0]);
     DeckInUse.RemoveAt(0);
     HandInPlay.Add(DeckInUse[0]);
     DeckInUse.RemoveAt(0);
 }
Exemplo n.º 2
0
 // mechanics behind drawing a car and removing it from deck.
 private void DrawCard(List <Card> HandToDrawTo)
 {
     HandToDrawTo.Add(DeckInUse[0]);
     DeckInUse.RemoveAt(0);
 }