org.pandora.api.thought
Enum Mind.MentalState

java.lang.Object
  extended by java.lang.Enum<Mind.MentalState>
      extended by org.pandora.api.thought.Mind.MentalState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Mind.MentalState>
Enclosing interface:
Mind

public static enum Mind.MentalState
extends java.lang.Enum<Mind.MentalState>


Enum Constant Summary
ACTIVE
          ACTIVE, active interacting, or performing a task.
ALERT
          ALERT, highly active, large amount of sensory input.
ASLEEP
          ASLEEP is the dream state, the conscious thought is free to wander.
BORED
          BORED, some activity but conscious thought is free to wander.
PANIC
          PANIC sensory overload, fight, flight or cry.
UNCONSCIOUS
          UNCONSCIOUS is the dream state, the conscious thought is free to wander.
 
Method Summary
static Mind.MentalState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Mind.MentalState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNCONSCIOUS

public static final Mind.MentalState UNCONSCIOUS
UNCONSCIOUS is the dream state, the conscious thought is free to wander.


ASLEEP

public static final Mind.MentalState ASLEEP
ASLEEP is the dream state, the conscious thought is free to wander.


BORED

public static final Mind.MentalState BORED
BORED, some activity but conscious thought is free to wander.


ACTIVE

public static final Mind.MentalState ACTIVE
ACTIVE, active interacting, or performing a task.


ALERT

public static final Mind.MentalState ALERT
ALERT, highly active, large amount of sensory input.


PANIC

public static final Mind.MentalState PANIC
PANIC sensory overload, fight, flight or cry.

Method Detail

values

public static Mind.MentalState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Mind.MentalState c : Mind.MentalState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Mind.MentalState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null