Enum Class ArenaLocationKey

java.lang.Object
java.lang.Enum<ArenaLocationKey>
com.xyrisdev.cloud.arena.model.ArenaLocationKey
All Implemented Interfaces:
Serializable, Comparable<ArenaLocationKey>, Constable

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

    • CENTER

      public static final ArenaLocationKey CENTER
      Represents the center of the arena.
    • RED

      public static final ArenaLocationKey RED
      Represents the red team's spawn location.
    • BLUE

      public static final ArenaLocationKey BLUE
      Represents the blue team's spawn location.
    • CORNER1

      public static final ArenaLocationKey CORNER1
      Represents the first corner of the arena.
    • CORNER2

      public static final ArenaLocationKey CORNER2
      Represents the second corner of the arena.
  • Method Details

    • values

      public static ArenaLocationKey[] 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 ArenaLocationKey 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