|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Goal>
org.starhope.appius.game.npc.Goal
public enum Goal
The state of the NPC's sequence of actions
Enum Constant Summary | |
---|---|
EATING
Eating their food |
|
FIND_SOMEONE
Looking for someone |
|
FIND_SOMETHING
Looking for something |
|
GO_TO_GAME
Going to watch a game someplace |
|
GO_TO_RESTAURANT
Coming in to the restaurant |
|
GOSSIP
Gossipping |
|
HUNGRY_WAIT_SERVICE
Waiting for food |
|
RESTAURANT_BEING_SEATED
Following someone to be seated |
Method Summary | |
---|---|
static Goal |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Goal[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Goal RESTAURANT_BEING_SEATED
public static final Goal EATING
public static final Goal GO_TO_RESTAURANT
public static final Goal HUNGRY_WAIT_SERVICE
public static final Goal GO_TO_GAME
public static final Goal GOSSIP
public static final Goal FIND_SOMEONE
public static final Goal FIND_SOMETHING
Method Detail |
---|
public static Goal[] values()
for (Goal c : Goal.values()) System.out.println(c);
public static Goal valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |