Class LightScreen


public class LightScreen extends Screen
Raises the Special Defense of Pokémon on the user's side.
  • Constructor Details

    • LightScreen

      public LightScreen()
      Initializes Light Screen with the default five turn duration.
    • LightScreen

      public LightScreen(int turns)
      Initializes Light Screen with a custom duration.
      Parameters:
      turns - Number of turns for Light Screen to last.
  • Method Details

    • getNewInstance

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