#include <b2_world_callbacks.h>
Public Member Functions | |
virtual void | SayGoodbye (b2Joint *joint)=0 |
virtual void | SayGoodbye (b2Fixture *fixture)=0 |
virtual | ~b2DestructionListener () |
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.
Definition at line 41 of file b2_world_callbacks.h.
|
inlinevirtual |
Definition at line 44 of file b2_world_callbacks.h.
Called when any joint is about to be destroyed due to the destruction of one of its attached bodies.
Implemented in DestructionListener.
Called when any fixture is about to be destroyed due to the destruction of its parent body.
Implemented in DestructionListener.