Exemplo n.º 1
0
 private void RemovePlayerCard(CardEntity card)
 {
     card.RemoveOwner();
     if (card.hasInBox)
     {
         card.RemoveInBox();
     }
 }
Exemplo n.º 2
0
 public int AfterBlock(CardEntity card)
 {
     UnityEngine.Debug.Log("Remove Defense card");
     if (card.hasInBox)
     {
         card.RemoveInBox();
     }
     else
     {
         card.RemoveOwner();
     }
     return(1);
 }
Exemplo n.º 3
0
 public int AfterBlockAttack(CardEntity cardAbility)
 {
     UnityEngine.Debug.Log("Remove Defense card");
     if (cardAbility.hasInBox)
     {
         cardAbility.RemoveInBox();
     }
     else
     {
         cardAbility.RemoveOwner();
     }
     //EventMoveDeckCard.MoveCardToShareDeck(cardAbility);
     return(1);
 }
Exemplo n.º 4
0
 public static void MoveCardToDeck(this CardEntity cardEntity)
 {
     cardEntity.RemoveOwner();
     RemoveInbox(cardEntity);
 }