b2DestructionListener Class Reference
Joints and shapes are destroyed when their associated body is destroyed. More...
Public Member Functions | |
virtual void | SayGoodbye (b2Joint *joint)=0 |
Called when any joint is about to be destroyed due to the destruction of one of its attached bodies. | |
virtual void | SayGoodbye (b2Shape *shape)=0 |
Called when any shape is about to be destroyed due to the destruction of its parent body. |
Detailed Description
Joints and shapes are destroyed when their associated body is destroyed.Implement this listener so that you may nullify references to these joints and shapes.
Member Function Documentation
virtual void b2DestructionListener::SayGoodbye | ( | b2Joint * | joint | ) | [pure virtual] |
Called when any joint is about to be destroyed due to the destruction of one of its attached bodies.
virtual void b2DestructionListener::SayGoodbye | ( | b2Shape * | shape | ) | [pure virtual] |
Called when any shape is about to be destroyed due to the destruction of its parent body.
The documentation for this class was generated from the following file:
- b2WorldCallbacks.h
Generated on Sun Apr 13 15:21:27 2008 for Box2D by 1.5.4