File:addBox2D\Dynamics\Joints\b2JointEdge.js
//################################################################################################//
//################################################################################################//
// //
// ██ ██████ ██ ██ ██ ██████ ██ //
// ██ ██ ██ ██ ██ ██ //
// █████ ██ ██ █████ ██ █████ █████ ██ █████ █████ █████ //
// ██ ██ ██████ ██ ██ ██ ██ ██ ██ ██ █████ ██ ██ ██ ██ ██ ██ //
// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █████ //
// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ //
// █████ ██████ █████ █████ ██ ██ ██ ████ ██████ █████ █████ █████ //
// ██ //
// █████ //
// //
//################################################################################################//
//################################################################################################//
// CLASS CONSTRUCTOR
/**
* A joint edge is used to connect bodies and joints together
* in a joint graph where each body is a node and each joint
* is an edge. A joint edge belongs to a doubly linked list
* maintained in each attached body. Each joint has two joint
* nodes, one for each attached body.
*
* @class b2JointEdge
* @constructor
* @module Joints
*/
function b2JointEdge() {
/**
* Other body attached to edge.
*
* @public
* @property other
* @type {b2Body}
* @default null
*/
this.other = null;
/**
* The joint.
*
* @public
* @property joint
* @type {b2Joint}
* @default null
*/
this.joint = null;
/**
* The previous joint edge in the body's joint list.
*
* @public
* @property prev
* @type {b2JointEdge}
* @default null
*/
this.prev = null;
/**
* The next joint edge in the body's joint list.
*
* @public
* @property next
* @type {b2JointEdge}
* @default null
*/
this.next = null;
} p = b2JointEdge.prototype; Box2D.b2JointEdge = b2JointEdge;