public static void DealCards(PlayingDeck Deck, Player PlayerOne, Player PlayerTwo) { int CardCount = 0; while (CardCount != Deck.DeckCount) { PlayerOne.PlayersDeck.AddCardToBottom(Deck.PickACard(CardCount)); CardCount++; PlayerTwo.PlayersDeck.AddCardToBottom(Deck.PickACard(CardCount)); CardCount++; } }
private static void DealCards(PlayingDeck Deck, Player PlayerOne, Player PlayerTwo) { int CardCount = 0; while (CardCount != Deck.DeckCount) { PlayerOne.Deck.Add(Deck.PickACard(CardCount)); CardCount++; PlayerTwo.Deck.Add(Deck.PickACard(CardCount)); CardCount++; } }