示例#1
0
 private void AddCardsToWinner()
 {
     if (RoundWinner != null)
     {
         if (PlayedDeck.Any())
         {
             RoundWinner.DiscardPile.AddToStackAndEmptySource(PlayedDeck);
         }
         foreach (var user in Users)
         {
             if (user.Played != null)
             {
                 RoundWinner.DiscardPile.Push(user.Played);
                 user.Played = null;
             }
         }
     }
 }