|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PetBehaviour>
org.starhope.appius.game.npc.PetBehaviour
public enum PetBehaviour
TODO: The documentation for this type (PetBehaviour) is incomplete. (brpocock@star-hope.org, Nov 24, 2009)
Enum Constant Summary | |
---|---|
BOTHER_FRIEND
Set this pet to follow a random person in the room BOTHER_FRIEND (PetBehaviour) |
|
FLOCK
Join into a flock of pets FLOCK (PetBehaviour) |
|
FOLLOW_LEADER
Follow-the-leader, baby chick style. |
|
FOLLOW_MASTER
Follow the master (owner). |
|
MASTER_EXIT
When the master leaves the screen, hurry to their last-known position and then vanish ourself. |
|
RANDOM
Choose a new behavioral pattern at random RANDOM (PetBehaviour) |
|
TAKE_NAP
Do nothing for a while. |
Method Summary | |
---|---|
static PetBehaviour |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PetBehaviour[] |
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 PetBehaviour BOTHER_FRIEND
public static final PetBehaviour FLOCK
public static final PetBehaviour FOLLOW_LEADER
public static final PetBehaviour FOLLOW_MASTER
public static final PetBehaviour MASTER_EXIT
public static final PetBehaviour RANDOM
public static final PetBehaviour TAKE_NAP
Method Detail |
---|
public static PetBehaviour[] values()
for (PetBehaviour c : PetBehaviour.values()) System.out.println(c);
public static PetBehaviour 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 |