@Override public void destructor() { for (int i = 0; i < distanceJoints.length; ++i) { world.destroyJoint(distanceJoints[i]); } }
@Override public void destructor() { for (int i = 0; i < distanceJoints.length; ++i) { world.destroyJoint(distanceJoints[i]); } }
private void destroyAttachedJoints() { JointEdge je = this.m_jointList; while (je != null) { JointEdge je0 = je; je = je.next; if (world.getDestructionListener() != null) { world.getDestructionListener().onDestroy(je0.joint); } world.destroyJoint(je0.joint); this.m_jointList = je; } this.m_jointList = null; }
private void destroyAttachedJoints() { JointEdge je = this.m_jointList; while (je != null) { JointEdge je0 = je; je = je.next; if (world.getDestructionListener() != null) { world.getDestructionListener().onDestroy(je0.joint); } world.destroyJoint(je0.joint); this.m_jointList = je; } this.m_jointList = null; }