예제 #1
0
        public void ShowDeckSaveMenu()
        {
            Deck deckToSave = CurrentDeck;
            bool overwrite  = SavedDeck != null && deckToSave.Name.Equals(SavedDeck.Name);

            DeckSaver.Show(deckToSave, UpdateDeckName, OnSaveDeck, overwrite);
        }
예제 #2
0
        public void ShowDeckSaveMenu()
        {
            var deckToSave      = CurrentDeck;
            var shouldOverwrite = SavedDeck != null && deckToSave.Name.Equals(SavedDeck.Name);

            DeckSaver.Show(deckToSave, UpdateDeckName, OnSaveDeck, shouldOverwrite);
        }