Exemplo n.º 1
0
 public async Task ShowPlayCardAsync(FluxxCardInformation card)
 {
     if (card.Deck != CardDetail !.CurrentCard.Deck)
     {
         CardDetail.ShowCard(card);
         if (_test.NoAnimations == false)
         {
             await _delayer.DelaySeconds(1);
         }
     }
     CardDetail.ResetCard();
 }
Exemplo n.º 2
0
 private Task ThisHand_ObjectClickedAsync(KeeperCard payLoad, int index)
 {
     if (Section != EnumKeeperSection.None)
     {
         return(Task.CompletedTask);
     }
     if ((int)payLoad.Deck == CardDetail.CurrentCard.Deck)
     {
         CardDetail.ResetCard();
     }
     else
     {
         CardDetail.ShowCard(payLoad);
     }
     return(Task.CompletedTask);
 }