Class AbstractIntegerStatueRequirement

All Implemented Interfaces:
Requirement<Pokemon,StatueEntity,Integer>
Direct Known Subclasses:
AnimationFrameRequirement, GenerationRequirement, GrowthStageRequirement, LakeTrioRequirement

public abstract class AbstractIntegerStatueRequirement extends AbstractStatueRequirement<Integer>
Basic abstract implementation for specs following the basic implementation that have an integer value so that integer specs are handled consistently.
All integer specs extending this class can use the following format: > "spec" - returns the provided default value > "spec:" - returns the provided integer > "spec:" - returns the provided default value
  • Field Details

    • value

      protected int value
    • defaultValue

      protected int defaultValue
  • Constructor Details

    • AbstractIntegerStatueRequirement

      protected AbstractIntegerStatueRequirement(Set<String> keys, int defaultValue)
    • AbstractIntegerStatueRequirement

      protected AbstractIntegerStatueRequirement(Set<String> keys, int defaultValue, int value)
  • Method Details