Enum Class BoardTeam

java.lang.Object
java.lang.Enum<BoardTeam>
xericker.arenalegends.core.board.handler.team.BoardTeam
All Implemented Interfaces:
Serializable, Comparable<BoardTeam>, Constable

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

    • SPECTATOR

      public static final BoardTeam SPECTATOR
    • ALLY

      public static final BoardTeam ALLY
    • ENEMY

      public static final BoardTeam ENEMY
    • TEAM_1

      public static final BoardTeam TEAM_1
    • TEAM_2

      public static final BoardTeam TEAM_2
  • Method Details

    • values

      public static BoardTeam[] 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 BoardTeam 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
    • getColor

      public org.bukkit.ChatColor getColor()