Enum Class Split.Type

java.lang.Object
java.lang.Enum<Split.Type>
xyz.stachel.zombiesutils.api.event.Split.Type
All Implemented Interfaces:
Serializable, Comparable<Split.Type>, Constable
Enclosing class:
Split

public static enum Split.Type extends Enum<Split.Type>
  • Enum Constant Details

    • START

      public static final Split.Type START
    • START_MIDGAME

      public static final Split.Type START_MIDGAME
    • ROUND

      public static final Split.Type ROUND
    • HELICOPTER_CALL

      public static final Split.Type HELICOPTER_CALL
      only possible on prison
    • LOSS

      public static final Split.Type LOSS
    • WIN

      public static final Split.Type WIN
    • ESCAPE

      public static final Split.Type ESCAPE
      only possible on prison
  • Method Details

    • values

      public static Split.Type[] 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 Split.Type 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
    • isWin

      public boolean isWin()
      win or escape
    • isStart

      public boolean isStart()
      any start type
    • isEnd

      public boolean isEnd()
      any game end type