public void attack(AbstractCard clicked, AbstractCard target, bool damageback)
        {
            calculateDirection (target.transform.position, true);

            //NetworkManager.Send (CardAttackProtocol.Prepare (GameManager.matchID, attack, fieldPosition), ProcessSummonCard);
            target.receiveAttack (dmg);

            if (damageback) {

                clicked.receiveAttack (target.dmg);
            }
            canAttackNow = false;
        }
示例#2
0
 public InHand(AbstractCard card, BattlePlayer player)
     : base(card, player)
 {
 }
 public RemoveFromPlay(AbstractCard card, BattlePlayer player)
     : base(card, player)
 {
 }