public void DiscardEventsDownTo(GameState g, int numberOfCards, UserInterface ui) { while (EventCardsInHand.Count() > numberOfCards) { EventDetail cardToDiscard = logic.DecideWhichEventToDiscard(g, this); EventCardsInHand.Remove(cardToDiscard); g.AddEventToEventDiscard(cardToDiscard); Logger.WriteToDebugLog("Dracula discarded " + cardToDiscard.name); Logger.WriteToGameLog("Dracula discarded " + cardToDiscard.name); ui.TellUser("Dracula discarded " + cardToDiscard.name); } }