DestructionListener class

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

Constructors

DestructionListener()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

sayGoodbyeFixture(Fixture fixture) → void
Called when any fixture is about to be destroyed due to the destruction of its parent body. @param fixture
sayGoodbyeJoint(Joint joint) → void
Called when any joint is about to be destroyed due to the destruction of one of its attached bodies. @param joint
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited