Enum Class GameStatus

java.lang.Object
java.lang.Enum<GameStatus>
xericker.arenalegends.core.game.contract.game.GameStatus
All Implemented Interfaces:
Serializable, Comparable<GameStatus>, Constable

public enum GameStatus extends Enum<GameStatus>
  • Enum Constant Details

    • DISABLED

      public static final GameStatus DISABLED
    • ERROR_OCCURRED

      public static final GameStatus ERROR_OCCURRED
    • GENERATING

      public static final GameStatus GENERATING
    • GENERATION_FAILED

      public static final GameStatus GENERATION_FAILED
    • LOBBY_SCHEM_MISSING

      public static final GameStatus LOBBY_SCHEM_MISSING
    • LOBBY_SPAWN_MISSING

      public static final GameStatus LOBBY_SPAWN_MISSING
    • ARENA_SCHEM_MISSING

      public static final GameStatus ARENA_SCHEM_MISSING
    • ARENA_SPAWN_MISSING

      public static final GameStatus ARENA_SPAWN_MISSING
  • Method Details

    • values

      public static GameStatus[] 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 GameStatus 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
    • getDescription

      public String getDescription()