public void Draw(SortedDictionary <Player, List <Card> > players) { var playerNumber = 0; foreach (var player in players) { playerNumber++; var cardNumber = 0; foreach (var card in player.Value) { _cardTexturePng.Draw(_spriteBatch, card, cardNumber++, playerNumber); } } }
public void Draw(List <Card> cards) { cards.ForEach(c => _cardTexturePng.Draw(_spriteBatch, c, 1, 6)); }