- Object
-
- DestructionAdapter
-
- All Implemented Interfaces:
DestructionListener
,Listener
@Deprecated public class DestructionAdapter extends Object implements DestructionListener, Listener
Deprecated.Deprecated in 4.0.0. Use the DestructionListenerAdapter in the world package instead.Convenience class for implementing theDestructionListener
interface.This class can be used to implement only the methods desired instead of all the methods contained in the
DestructionListener
interface.- Since:
- 1.0.0
- Version:
- 4.0.0
- Author:
- William Bittle
-
-
Constructor Summary
Constructors Constructor Description DestructionAdapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete 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
public void destroyed(ContactPoint contactPoint)
Deprecated.Description copied from interface:DestructionListener
Called when implicit destruction of aContactConstraint
has occurred.Modification of the
World
is not permitted during this method.- Specified by:
destroyed
in interfaceDestructionListener
- Parameters:
contactPoint
- theContactPoint
that was destroyed- See Also:
World.removeBody(Body)
,World.removeAllBodiesAndJoints(boolean)
-
destroyed
public void destroyed(Joint joint)
Deprecated.Description copied from interface:DestructionListener
Called when implicit destruction of aJoint
has occurred.Modification of the
World
is permitted during this method.- Specified by:
destroyed
in interfaceDestructionListener
- Parameters:
joint
- theJoint
that was destroyed- See Also:
World.removeBody(Body)
,World.removeAllBodiesAndJoints(boolean)
-
destroyed
public void destroyed(Body body)
Deprecated.Description copied from interface:DestructionListener
Called when implicit destruction of aBody
has occurred.Modification of the
World
is not permitted during this method.- Specified by:
destroyed
in interfaceDestructionListener
- Parameters:
body
- theBody
that was destroyed- See Also:
World.removeAllBodiesAndJoints(boolean)
-
-