Exemplo n.º 1
0
 public Task DiscardCardVisual(CardVisual visual)
 {
     //Sanity check
     if (visual == Selected)
     {
         DeselectCard();
         BattleScene.Instance.DescribeCard(CardId.None);
     }
     visual.IsDisabled = true;
     visual.Disappear(split);
     lock (handFlowLock) {
         visuals.Remove(visual);
     }
     return(DiscardInternal(visual));
 }