Class EnforcedSwitchTask

All Implemented Interfaces:
PixelmonPacket

public class EnforcedSwitchTask extends BattleMessagePacket
Created by Jay113355 on 2/28/2021.
  • Constructor Details

    • EnforcedSwitchTask

      public EnforcedSwitchTask()
      Empty constructor for packet registration.
    • EnforcedSwitchTask

      public EnforcedSwitchTask(int switchPosition)
      Initializes a packet to switch out a Pokémon at a specified position.
      Parameters:
      switchPosition - The position of the Pokémon switching out.
    • EnforcedSwitchTask

      public EnforcedSwitchTask(int switchPosition, boolean preventFleeOnSwitch)
  • Method Details