Exemple #1
0
 private static void RemoveInbox(CardEntity card)
 {
     if (card.hasInBox)
     {
         card.RemoveInBox();
     }
 }
 private void RemovePlayerCard(CardEntity card)
 {
     card.RemoveOwner();
     if (card.hasInBox)
     {
         card.RemoveInBox();
     }
 }
 public int AfterBlock(CardEntity card)
 {
     UnityEngine.Debug.Log("Remove Defense card");
     if (card.hasInBox)
     {
         card.RemoveInBox();
     }
     else
     {
         card.RemoveOwner();
     }
     return(1);
 }
Exemple #4
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);
 }