Class Resonance


public class Resonance extends AuroraVeil
  • Constructor Details

    • Resonance

      public Resonance()
      Initializes Resonance with the default five turn duration.
    • Resonance

      public Resonance(int turns)
    • Resonance

      public Resonance(PixelmonWrapper user, int turns)
      Initializes Resonance with a custom duration.
      Parameters:
      user - The user of the move.
      turns - Number of turns for Resonance to last.
  • Method Details

    • applyEffect

      public void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
      Description copied from class: EffectBase
      Causes various effects during the move.
      Overrides:
      applyEffect in class AuroraVeil
      Parameters:
      user - The move's user.
      target - The move's target.
    • getNewInstance

      protected Screen getNewInstance(int effectTurns)
      Creates a new instance of the subclass.
      Overrides:
      getNewInstance in class AuroraVeil
      Parameters:
      effectTurns - The number of turns for the screen to last.
      Returns:
      A new instance of the subclass.