Artenus 2D Framework
Artenus Reference
Superclass for all classes that describe joints in physical simulation. Joints are constraints that relate two bodies and limit their freedom based on their mutual relation and on the nature of the joint.
public abstract class JointDescriptor

Constructor Summary

Modifier and TypeConstructor and Description
protected JointDescriptor(int type)
Creates a joint with a given type.

Method Summary

Methods inherited from java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

JointDescriptor
protected  JointDescriptor(
    int type
)
Creates a joint with a given type. This constructor is called from all subclasses to identify the type identifier of the joint.
Parameters:
typetype of the joint. Each joint defines its own type value, which is stored as the constant TYPE within the corresponding class.