Package effects.cards

Class DoubleAttackCard

java.lang.Object
parents.Action
effects.Card
effects.cards.DoubleAttackCard

public class DoubleAttackCard extends Card
  • Constructor Details

    • DoubleAttackCard

      public DoubleAttackCard()
  • Method Details

    • check

      public boolean check(Player player, Entity enemy)
      Description copied from class: Card
      Check if the user can perform this action
      Specified by:
      check in class Card
      Parameters:
      player - Player object
      Returns:
      True if he can, False if he can't
    • execute

      public void execute(Entity attacker, Entity defender)
      Description copied from class: Action
      Execute the Action
      Specified by:
      execute in class Action
      Parameters:
      attacker - Entity Attacker
      defender - Entity Defender