public void openDeckCreatorAndCloseClassSelector(ClassSelectorWindow window, string selectedClass)
 {
     Deck deck = new Deck();
     deck.DeckClass = selectedClass;
     deck.DeckName = "New Deck";
     deck.DeckUser = GlobalVariables.LoggedInUser;
     DeckCreatorWindow deckCreatorWindow = new DeckCreatorWindow(deck);
     deckCreatorWindow.Show();
     window.Close();
 }
 public void openDeckCreatorWindow(Deck deck)
 {
     DeckCreatorWindow deckCreatorWindow = new DeckCreatorWindow(deck);
     deckCreatorWindow.Show();
 }