internal void AddCard(CardGameobject card)
 {
     gameState.PlayerDiscard.Add(card);
     card.Interactable(false);
     animQueue.EnqueueAction(MoveCardToDiscardAnimation(card));
     animQueue.EnqueueWait(0.1f);
 }
Beispiel #2
0
 public IEnumerator MoveCardToHandAnimation(CardGameobject card)
 {
     cardsInHand.Add(card);
     card.FX.FlipCard();
     card.Interactable(true);
     card.SetSortOrder(20);
     UpdatePlayables();
     yield return(null);
 }