public static void SetKingdomCards(this GameConfigBuilder builder, params PlayerAction[] players) { var allCards = new HashSet <Card>(); foreach (PlayerAction player in players) { PlayerAction.AddAllCards(allCards, player); } builder.SetKingdomPiles(allCards); }
public static void SetKingdomCards(GameConfigBuilder builder, params PlayerAction[] players) { var allCards = new List <Card>(); foreach (PlayerAction player in players) { AddCards(allCards, player.actionOrder); AddCards(allCards, player.purchaseOrder); AddCards(allCards, player.gainOrder); } builder.SetKingdomPiles(allCards); }