Enum LeagueRegion
- java.lang.Object
-
- java.lang.Enum<LeagueRegion>
-
- net.storm.api.movement.pathfinder.model.LeagueRegion
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LeagueRegion>
public enum LeagueRegion extends java.lang.Enum<LeagueRegion>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasUnlocked()
static LeagueRegion
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LeagueRegion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASGARNIA
public static final LeagueRegion ASGARNIA
-
DESERT
public static final LeagueRegion DESERT
-
FREMENNIK
public static final LeagueRegion FREMENNIK
-
KANDARIN
public static final LeagueRegion KANDARIN
-
KOUREND
public static final LeagueRegion KOUREND
-
MORYTANIA
public static final LeagueRegion MORYTANIA
-
TIRANNWN
public static final LeagueRegion TIRANNWN
-
WILDERNESS
public static final LeagueRegion WILDERNESS
-
VARLAMORE
public static final LeagueRegion VARLAMORE
-
-
Method Detail
-
values
public static LeagueRegion[] 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 (LeagueRegion c : LeagueRegion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LeagueRegion valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
hasUnlocked
public boolean hasUnlocked()
-
-