| Enum Constant and Description |
|---|
COIN
Possible content of a place in a room.
|
EMPTY |
MULTIPLIER |
| Modifier and Type | Field and Description |
|---|---|
static int |
NB_CONTENT
Number of elements in the enum.
|
| Modifier and Type | Method and Description |
|---|---|
char |
oneChar() |
static Content |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Content[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Content COIN
public static final Content MULTIPLIER
public static final Content EMPTY
public static final int NB_CONTENT
public static Content[] values()
for (Content c : Content.values()) System.out.println(c);
public static Content 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 char oneChar()