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)); }
public static EquippedDeck Load(string name) { var deck = DeckDefinition.Load(name); return(EquippedDeck.FromDeckDefinition(deck)); }