Package effects.cards

Class MantraCard

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

public class MantraCard extends Card
  • Field Details

    • focus

      protected int focus
    • strength

      protected int strength
  • Constructor Details

    • MantraCard

      public MantraCard(int focus, int strength)
  • 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