com.bulletphysics.dynamics
Enum DynamicsWorldType

java.lang.Object
  extended by java.lang.Enum<DynamicsWorldType>
      extended by com.bulletphysics.dynamics.DynamicsWorldType
All Implemented Interfaces:
Serializable, Comparable<DynamicsWorldType>

public enum DynamicsWorldType
extends Enum<DynamicsWorldType>

Dynamics world type.


Enum Constant Summary
CONTINUOUS_DYNAMICS_WORLD
           
DISCRETE_DYNAMICS_WORLD
           
SIMPLE_DYNAMICS_WORLD
           
 
Method Summary
static DynamicsWorldType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DynamicsWorldType[] 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

SIMPLE_DYNAMICS_WORLD

public static final DynamicsWorldType SIMPLE_DYNAMICS_WORLD

DISCRETE_DYNAMICS_WORLD

public static final DynamicsWorldType DISCRETE_DYNAMICS_WORLD

CONTINUOUS_DYNAMICS_WORLD

public static final DynamicsWorldType CONTINUOUS_DYNAMICS_WORLD
Method Detail

values

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

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

valueOf

public static DynamicsWorldType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null