public void DiscardedCard(PlayerState playerState, Card card) { if (playerState.PlayPhase == PlayPhase.Cleanup) { this.discardedCards.Add(card); } else { this.textWriter.WriteLine("{0} Discards {1}.", GetPlayerName(playerState), card.name); } }