예제 #1
0
        public void SetDeck(Deck deck, CardRepository repo)
        {
            lock (DataSource)
                DataSource.Clear();

            MainDeck.SetDeck(deck.MainDeck);
            SideDeck.SetDeck(deck.Sideboard);

            LoadDeck(repo);
        }