Package org.rspeer.game.web.path
Enum Edge.EdgeType
- java.lang.Object
-
- java.lang.Enum<Edge.EdgeType>
-
- org.rspeer.game.web.path.Edge.EdgeType
-
- All Implemented Interfaces:
Serializable
,Comparable<Edge.EdgeType>
- Enclosing class:
- Edge
public static enum Edge.EdgeType extends Enum<Edge.EdgeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAIRY_RING
ITEM_TELEPORTATION
NPC
OBJECT
SPIRIT_TREE
STANDARD
TRANSMUTABLE_OBJECT
ZANARIS_FAIRY_RING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Edge>
getClazz()
static Edge.EdgeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Edge.EdgeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARD
public static final Edge.EdgeType STANDARD
-
OBJECT
public static final Edge.EdgeType OBJECT
-
NPC
public static final Edge.EdgeType NPC
-
TRANSMUTABLE_OBJECT
public static final Edge.EdgeType TRANSMUTABLE_OBJECT
-
FAIRY_RING
public static final Edge.EdgeType FAIRY_RING
-
ITEM_TELEPORTATION
public static final Edge.EdgeType ITEM_TELEPORTATION
-
SPIRIT_TREE
public static final Edge.EdgeType SPIRIT_TREE
-
ZANARIS_FAIRY_RING
public static final Edge.EdgeType ZANARIS_FAIRY_RING
-
-
Method Detail
-
values
public static Edge.EdgeType[] 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 (Edge.EdgeType c : Edge.EdgeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Edge.EdgeType 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
-
-