public static DeckRegularDict <FluxxCardInformation> CardsForTaxation(FluxxGameContainer gameContainer) { int extras = gameContainer.IncreaseAmount(); int howMany = extras + 1; return(gameContainer.SingleInfo !.MainHandList.GetRandomList(true, howMany).ToRegularDeckDict()); //i think you do need to remove previous. }
public static DeckRegularDict <FluxxCardInformation> CardsToDiscardFromHand(FluxxGameContainer gameContainer, int howMany) { if (howMany <= 0) { throw new BasicBlankException("Must discard at least one card from hand"); } return(gameContainer.SingleInfo !.MainHandList.GetRandomList(false, howMany).ToRegularDeckDict()); }