Enum Constant and Description |
---|
CHEST |
CRYSTAL_CHEST |
FOR_SALE |
HEAP |
LOCKED_CHEST |
MIMIC |
SKELETON |
TOMB |
Modifier and Type | Method and Description |
---|---|
static Heap.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Heap.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Heap.Type HEAP
public static final Heap.Type FOR_SALE
public static final Heap.Type CHEST
public static final Heap.Type LOCKED_CHEST
public static final Heap.Type CRYSTAL_CHEST
public static final Heap.Type TOMB
public static final Heap.Type SKELETON
public static final Heap.Type MIMIC
public static Heap.Type[] values()
for (Heap.Type c : Heap.Type.values()) System.out.println(c);
public static Heap.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