com.bulletphysics.demos.genericjoint
Enum RagDoll.BodyPart

java.lang.Object
  extended by java.lang.Enum<RagDoll.BodyPart>
      extended by com.bulletphysics.demos.genericjoint.RagDoll.BodyPart
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RagDoll.BodyPart>
Enclosing class:
RagDoll

public static enum RagDoll.BodyPart
extends java.lang.Enum<RagDoll.BodyPart>


Enum Constant Summary
BODYPART_COUNT
           
BODYPART_HEAD
           
BODYPART_LEFT_LOWER_ARM
           
BODYPART_LEFT_LOWER_LEG
           
BODYPART_LEFT_UPPER_ARM
           
BODYPART_LEFT_UPPER_LEG
           
BODYPART_PELVIS
           
BODYPART_RIGHT_LOWER_ARM
           
BODYPART_RIGHT_LOWER_LEG
           
BODYPART_RIGHT_UPPER_ARM
           
BODYPART_RIGHT_UPPER_LEG
           
BODYPART_SPINE
           
 
Method Summary
static RagDoll.BodyPart valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RagDoll.BodyPart[] 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

BODYPART_PELVIS

public static final RagDoll.BodyPart BODYPART_PELVIS

BODYPART_SPINE

public static final RagDoll.BodyPart BODYPART_SPINE

BODYPART_HEAD

public static final RagDoll.BodyPart BODYPART_HEAD

BODYPART_LEFT_UPPER_LEG

public static final RagDoll.BodyPart BODYPART_LEFT_UPPER_LEG

BODYPART_LEFT_LOWER_LEG

public static final RagDoll.BodyPart BODYPART_LEFT_LOWER_LEG

BODYPART_RIGHT_UPPER_LEG

public static final RagDoll.BodyPart BODYPART_RIGHT_UPPER_LEG

BODYPART_RIGHT_LOWER_LEG

public static final RagDoll.BodyPart BODYPART_RIGHT_LOWER_LEG

BODYPART_LEFT_UPPER_ARM

public static final RagDoll.BodyPart BODYPART_LEFT_UPPER_ARM

BODYPART_LEFT_LOWER_ARM

public static final RagDoll.BodyPart BODYPART_LEFT_LOWER_ARM

BODYPART_RIGHT_UPPER_ARM

public static final RagDoll.BodyPart BODYPART_RIGHT_UPPER_ARM

BODYPART_RIGHT_LOWER_ARM

public static final RagDoll.BodyPart BODYPART_RIGHT_LOWER_ARM

BODYPART_COUNT

public static final RagDoll.BodyPart BODYPART_COUNT
Method Detail

values

public static RagDoll.BodyPart[] 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 (RagDoll.BodyPart c : RagDoll.BodyPart.values())
    System.out.println(c);

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

valueOf

public static RagDoll.BodyPart 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