Beispiel #1
0
 public void ClearCards()
 {
     _objectList.Clear();
     _previousNum = 0;
     if (CurrentCard.Deck == 0)
     {
         return;
     }
     CurrentCard = new D();
     _thisE.NewCardMessage(EnumNewCardCategories.Discard);
 }
Beispiel #2
0
 private void ObjectList_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
 {
     OnPropertyChanged(nameof(TextToAppear));
     if (_didOriginal == true)
     {
         _aggregator.NewCardMessage(EnumNewCardCategories.Deck);
     }
     OnPropertyChanged(nameof(CurrentDisplayCard));
 }