-
- All Superinterfaces:
Listener
- All Known Implementing Classes:
DestructionAdapter
@Deprecated public interface DestructionListener extends Listener
Deprecated.Deprecated in 4.0.0. Use the DestructionListener in the world package instead.Interface to listen for implicit destruction events.These events can happen when, for example, a
Body
is removed from aWorld
where it was attached to aJoint
. The joint must be removed as well. These methods will be called when any such implicit destruction events happen.- Since:
- 1.0.0
- Version:
- 4.0.0
- Author:
- William Bittle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
destroyed(Body body)
Deprecated.Called when implicit destruction of aBody
has occurred.void
destroyed(ContactPoint contactPoint)
Deprecated.Called when implicit destruction of aContactConstraint
has occurred.void
destroyed(Joint joint)
Deprecated.Called when implicit destruction of aJoint
has occurred.
-
-
-
Method Detail
-
destroyed
void destroyed(Joint joint)
Deprecated.Called when implicit destruction of aJoint
has occurred.Modification of the
World
is permitted during this method.- Parameters:
joint
- theJoint
that was destroyed- See Also:
World.removeBody(Body)
,World.removeAllBodiesAndJoints(boolean)
-
destroyed
void destroyed(ContactPoint contactPoint)
Deprecated.Called when implicit destruction of aContactConstraint
has occurred.Modification of the
World
is not permitted during this method.- Parameters:
contactPoint
- theContactPoint
that was destroyed- See Also:
World.removeBody(Body)
,World.removeAllBodiesAndJoints(boolean)
-
destroyed
void destroyed(Body body)
Deprecated.Called when implicit destruction of aBody
has occurred.Modification of the
World
is not permitted during this method.- Parameters:
body
- theBody
that was destroyed- Since:
- 1.0.2
- See Also:
World.removeAllBodiesAndJoints(boolean)
-
-