#include <b2WorldCallbacks.h>
Public Member Functions | |
virtual void | SayGoodbye (b2Joint *joint)=0 |
virtual void | SayGoodbye (b2Fixture *fixture)=0 |
virtual void | SayGoodbye (b2ParticleGroup *group) |
Called when any particle group is about to be destroyed. | |
virtual void | SayGoodbye (b2ParticleSystem *particleSystem, int32 index) |
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.
|
pure virtual |
Called when any joint is about to be destroyed due to the destruction of one of its attached bodies.
|
pure virtual |
Called when any fixture is about to be destroyed due to the destruction of its parent body.
|
inlinevirtual |
Called when a particle is about to be destroyed. The index can be used in conjunction with b2ParticleSystem::GetUserDataBuffer() or b2ParticleSystem::GetParticleHandleFromIndex() to determine which particle has been destroyed.