public enum PathNodeType extends Enum<PathNodeType>
Enum Constant and Description |
---|
BLOCKED |
BREACH |
COCOA |
DAMAGE_CACTUS |
DAMAGE_FIRE |
DAMAGE_OTHER |
DANGER_CACTUS |
DANGER_FIRE |
DANGER_OTHER |
DOOR_IRON_CLOSED |
DOOR_OPEN |
DOOR_WOOD_CLOSED |
FENCE |
LAVA |
LEAVES |
OPEN |
RAIL |
STICKY_HONEY |
TRAPDOOR |
UNPASSABLE_RAIL |
WALKABLE |
WALKABLE_DOOR |
WATER |
WATER_BORDER |
Modifier and Type | Field and Description |
---|---|
private float |
defaultPenalty |
Modifier and Type | Method and Description |
---|---|
float |
getDefaultPenalty() |
static PathNodeType |
valueOf(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 WALKABLE_DOOR
public static final PathNodeType TRAPDOOR
public static final PathNodeType FENCE
public static final PathNodeType LAVA
public static final PathNodeType WATER
public static final PathNodeType WATER_BORDER
public static final PathNodeType RAIL
public static final PathNodeType UNPASSABLE_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 final PathNodeType BREACH
public static final PathNodeType LEAVES
public static final PathNodeType STICKY_HONEY
public static final PathNodeType COCOA
public static PathNodeType[] values()
for (PathNodeType c : PathNodeType.values()) System.out.println(c);
public static PathNodeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic float getDefaultPenalty()