| Enum Constant and Description |
|---|
DAMAGED
The Damaged.
|
DESTROYED
The Destroyed.
|
INTACT
The Intact.
|
| Modifier and Type | Method and Description |
|---|---|
static PropState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropState DAMAGED
public static final PropState DESTROYED
public static final PropState INTACT
public static PropState[] values()
for (PropState c : PropState.values()) System.out.println(c);
public static PropState 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