/// <summary> /// Resets the Master Deck to have all of the possible Cards again /// </summary> public static void Reset() { lock (padLock) { instance = new MasterDeck(); instance.Shuffle(); } }
private static MasterDeck GetInstance() { if (instance == null) { lock (padLock) { if (instance == null) { instance = new MasterDeck(); instance.Shuffle(); } } } return(instance); }