/// <summary> /// Creates a new Deck to be used for the game /// </summary> public void CreateDeck() { foreach (Suit type in this.suit) { foreach (string Value in this.cardValue) { CardVM tempcard = new CardVM(Value, type); tempcard.SourceRect(); this.listOfCards.Add(tempcard); } } this.OnNotify(); }