Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }