Enum Class IntOption

java.lang.Object
java.lang.Enum<IntOption>
dev.despical.tntrun.option.IntOption
All Implemented Interfaces:
ConfigOption<Integer>, Serializable, Comparable<IntOption>, Constable

public enum IntOption extends Enum<IntOption> implements ConfigOption<Integer>
  • Enum Constant Details

    • ARENA_TICK_PERIOD

      public static final IntOption ARENA_TICK_PERIOD
    • DOUBLE_JUMP_DELAY

      public static final IntOption DOUBLE_JUMP_DELAY
    • LOBBY_WAITING_TIME

      public static final IntOption LOBBY_WAITING_TIME
    • PRE_GAME_WAITING_TIME

      public static final IntOption PRE_GAME_WAITING_TIME
    • GAME_STARTING_TIME

      public static final IntOption GAME_STARTING_TIME
    • FULL_GAME_STARTING_TIME

      public static final IntOption FULL_GAME_STARTING_TIME
    • ENDING_TIME

      public static final IntOption ENDING_TIME
  • Method Details

    • values

      public static IntOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IntOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getPath

      public String getPath()
      Specified by:
      getPath in interface ConfigOption<Integer>
    • getType

      public Class<Integer> getType()
      Specified by:
      getType in interface ConfigOption<Integer>
    • getDefaultValue

      public Integer getDefaultValue()
      Specified by:
      getDefaultValue in interface ConfigOption<Integer>