Class MeanLook

Direct Known Subclasses:
Octolock

public class MeanLook extends StatusBase
Prevents the Pokémon from escaping or switching.
  • Constructor Details

    • MeanLook

      public MeanLook()
      Initializes the status.
    • MeanLook

      public MeanLook(PixelmonWrapper locker)
      Initializes Mean Look.
      Parameters:
      locker - The Pokémon who used Mean Look.
  • 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 StatusBase
      Parameters:
      user - The move's user.
      target - The move's target.
    • stopsSwitching

      public boolean stopsSwitching()
      Description copied from class: StatusBase
      Determines whether the status stops switching.
      Overrides:
      stopsSwitching in class StatusBase
      Returns:
      Whether the status stops switching.
    • onEndOfTurn

      public void onEndOfTurn(PixelmonWrapper user)
      Description copied from class: StatusBase
      Occurs at the end of the Pokémon's current turn.
      Overrides:
      onEndOfTurn in class StatusBase
      Parameters:
      user - The statused Pokémon.
    • applyRepeatedEffect

      public void applyRepeatedEffect(PixelmonWrapper pw)
      Description copied from class: StatusBase
      Triggered at the end of every turn.
      Overrides:
      applyRepeatedEffect in class StatusBase
      Parameters:
      pw - The statused Pokémon.