Dart Documentationbox2dContactEdge

ContactEdge class

class ContactEdge {
 /** The other body attached to the edge. */
 Body other;

 /** The contact. */
 Contact contact;

 /** The previous contact edge in the body's contact list. */
 ContactEdge prev;

 /** The next contact edge in the body's contact list. */
 ContactEdge next;

 /**
  * Constructs a new ContactEdge with all fields set to null.
  */
 ContactEdge() :
   other = null,
   contact = null,
   prev = null,
   next = null {}
}

Constructors

new ContactEdge() #

Constructs a new ContactEdge with all fields set to null.

ContactEdge() :
 other = null,
 contact = null,
 prev = null,
 next = null {}

Properties

Contact contact #

The contact.

Contact contact;

ContactEdge next #

The next contact edge in the body's contact list.

ContactEdge next;

Body other #

The other body attached to the edge.

Body other;

ContactEdge prev #

The previous contact edge in the body's contact list.

ContactEdge prev;