Class FutureSighted


public class FutureSighted extends StatusBase
Keeps track of when Future Sight/Doom Desire will hit the target.
  • Field Details

    • turnsToGo

      protected transient int turnsToGo
      The turns left before the move hits.
  • Constructor Details

    • FutureSighted

      public FutureSighted()
    • FutureSighted

      public FutureSighted(PixelmonWrapper user, Attack attack)
      Initializes a Future Sight status.
      Parameters:
      user - The attack's user.
      attack - The original attack.
  • Method Details

    • 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.
    • getRemainingTurns

      public int getRemainingTurns()
      Returns:
      The number of turns remaining for this status.
    • isTeamStatus

      public boolean isTeamStatus()
      Description copied from class: StatusBase
      Determines whether the status applies to the Pokémon's position in the battle.
      Overrides:
      isTeamStatus in class StatusBase
      Returns:
      Whether the status applies to the Pokémon's position in the battle.
    • isWholeTeamStatus

      public boolean isWholeTeamStatus()
      Description copied from class: StatusBase
      Determines whether the status applies to the Pokémon's side of the battle.
      Overrides:
      isWholeTeamStatus in class StatusBase
      Returns:
      Whether the status applies to the Pokémon's side of the battle.