public static enum Room.Door.Type extends java.lang.Enum<Room.Door.Type>
Enum Constant and Description |
---|
BARRICADE |
EMPTY |
HIDDEN |
LOCKED |
REGULAR |
TUNNEL |
UNLOCKED |
Modifier and Type | Method and Description |
---|---|
static Room.Door.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Room.Door.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Room.Door.Type EMPTY
public static final Room.Door.Type TUNNEL
public static final Room.Door.Type REGULAR
public static final Room.Door.Type UNLOCKED
public static final Room.Door.Type HIDDEN
public static final Room.Door.Type BARRICADE
public static final Room.Door.Type LOCKED
public static Room.Door.Type[] values()
for (Room.Door.Type c : Room.Door.Type.values()) System.out.println(c);
public static Room.Door.Type 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 null