Esempio n. 1
0
            public DeckCandidate(List <Card> cards, int spellCount, double rating)
            {
                Cards      = cards.OrderBy(x => x.Name).ToList();
                SpellCount = spellCount;
                Rating     = rating;

                Hash = Sha1.Calculate(string.Join(";", Cards.Select(x => x.Name)));
            }