public static enum NPC_.Confidence extends java.lang.Enum<NPC_.Confidence>
Enum Constant and Description |
---|
Average |
Brave |
Cautious |
Cowardly |
Foolhardy |
Modifier and Type | Method and Description |
---|---|
static NPC_.Confidence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NPC_.Confidence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NPC_.Confidence Cowardly
public static final NPC_.Confidence Cautious
public static final NPC_.Confidence Average
public static final NPC_.Confidence Brave
public static final NPC_.Confidence Foolhardy
public static NPC_.Confidence[] values()
for (NPC_.Confidence c : NPC_.Confidence.values()) System.out.println(c);
public static NPC_.Confidence 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