net.java.dev.joode.joint
Class JointGroupID

java.lang.Object
  extended by net.java.dev.joode.joint.JointGroupID

public class JointGroupID
extends java.lang.Object

Author:
Tom Larkworthy

Constructor Summary
JointGroupID()
           
 
Method Summary
 void add(Joint joint)
           
 void clear()
           
 void destroy()
          The joints in this group are detached starting from the most recently added (at the top of the stack).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JointGroupID

public JointGroupID()
Method Detail

add

public void add(Joint joint)

destroy

public void destroy()
The joints in this group are detached starting from the most recently added (at the top of the stack). This helps ensure that the various linked lists are not traversed too much, as the joints will hopefully be at the start of those lists. If any group joints have their world pointer set to 0, their world was previously destroyed. no special handling is required for these joints.


clear

public void clear()