public class Reflect extends Screen
Raises the team's Defense.
  • Constructor Details

    • Reflect

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

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

    • shouldReduce

      public boolean shouldReduce(Attack a)
      Overrides:
      shouldReduce in class Screen
    • 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.