DestroyListener class abstract

Joints and fixtures are destroyed when their associated body is destroyed. Implement this listener so that you may remove references to these joints and shapes.

Constructors

DestroyListener()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDestroyFixture(Fixture fixture) → void
Called when any fixture is about to be destroyed due to the destruction of its parent body.
onDestroyJoint(Joint joint) → void
Called when any joint is about to be destroyed due to the destruction of one of its attached bodies.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited