public enum PathNodeType extends java.lang.Enum<PathNodeType>
Enum Constant and Description |
---|
BLOCKED |
DAMAGE_CACTUS |
DAMAGE_FIRE |
DAMAGE_OTHER |
DANGER_CACTUS |
DANGER_FIRE |
DANGER_OTHER |
DOOR_IRON_CLOSED |
DOOR_OPEN |
DOOR_WOOD_CLOSED |
FENCE |
LAVA |
OPEN |
RAIL |
TRAPDOOR |
WALKABLE |
WATER |
Modifier and Type | Field and Description |
---|---|
private float |
priority |
Modifier and Type | Method and Description |
---|---|
float |
getPriority() |
static PathNodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PathNodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathNodeType BLOCKED
public static final PathNodeType OPEN
public static final PathNodeType WALKABLE
public static final PathNodeType TRAPDOOR
public static final PathNodeType FENCE
public static final PathNodeType LAVA
public static final PathNodeType WATER
public static final PathNodeType RAIL
public static final PathNodeType DANGER_FIRE
public static final PathNodeType DAMAGE_FIRE
public static final PathNodeType DANGER_CACTUS
public static final PathNodeType DAMAGE_CACTUS
public static final PathNodeType DANGER_OTHER
public static final PathNodeType DAMAGE_OTHER
public static final PathNodeType DOOR_OPEN
public static final PathNodeType DOOR_WOOD_CLOSED
public static final PathNodeType DOOR_IRON_CLOSED
public static PathNodeType[] values()
for (PathNodeType c : PathNodeType.values()) System.out.println(c);
public static PathNodeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic float getPriority()