Enum World.Flag
- java.lang.Object
-
- java.lang.Enum<World.Flag>
-
- org.rspeer.game.adapter.component.World.Flag
-
- All Implemented Interfaces:
Serializable
,Comparable<World.Flag>
- Enclosing class:
- World
public static enum World.Flag extends Enum<World.Flag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BETA
BETA_SAVELESS
BOUNTY
DEADMAN
FRESH_START
HIGH_RISK
LAST_MAN_STANDING
MEMBERS
PVP
PVP_ARENA
SEASONAL
SECRET
SKILL_TOTAL
SPEEDRUN
TOURNAMENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static World.Flag
valueOf(String name)
Returns the enum constant of this type with the specified name.static World.Flag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEMBERS
public static final World.Flag MEMBERS
-
PVP
public static final World.Flag PVP
-
BOUNTY
public static final World.Flag BOUNTY
-
PVP_ARENA
public static final World.Flag PVP_ARENA
-
SKILL_TOTAL
public static final World.Flag SKILL_TOTAL
-
SPEEDRUN
public static final World.Flag SPEEDRUN
-
HIGH_RISK
public static final World.Flag HIGH_RISK
-
LAST_MAN_STANDING
public static final World.Flag LAST_MAN_STANDING
-
SECRET
public static final World.Flag SECRET
-
BETA
public static final World.Flag BETA
-
BETA_SAVELESS
public static final World.Flag BETA_SAVELESS
-
TOURNAMENT
public static final World.Flag TOURNAMENT
-
FRESH_START
public static final World.Flag FRESH_START
-
DEADMAN
public static final World.Flag DEADMAN
-
SEASONAL
public static final World.Flag SEASONAL
-
-
Method Detail
-
values
public static World.Flag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (World.Flag c : World.Flag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static World.Flag valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-