Enum Constant and Description |
---|
Angry |
Disgusted |
Fear |
Happy |
Neutral |
Puzzled |
Sad |
Surprised |
Modifier and Type | Method and Description |
---|---|
static NPC_.Mood |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NPC_.Mood[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NPC_.Mood Neutral
public static final NPC_.Mood Angry
public static final NPC_.Mood Fear
public static final NPC_.Mood Happy
public static final NPC_.Mood Sad
public static final NPC_.Mood Surprised
public static final NPC_.Mood Puzzled
public static final NPC_.Mood Disgusted
public static NPC_.Mood[] values()
for (NPC_.Mood c : NPC_.Mood.values()) System.out.println(c);
public static NPC_.Mood 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