Exemplo n.º 1
0
        public static EquippedDeck LoadEnemy(string name)
        {
            var deck    = DeckDefinition.Load(name);
            var asEnemy = new DeckDefinition {
                Name = deck.Name, CardCounts = deck.CardCounts.ToMap(x => $"Enemy/{x.Key}", x => x.Value)
            };

            return(EquippedDeck.FromDeckDefinition(asEnemy));
        }
Exemplo n.º 2
0
        public static EquippedDeck Load(string name)
        {
            var deck = DeckDefinition.Load(name);

            return(EquippedDeck.FromDeckDefinition(deck));
        }