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. |
Implement this listener so that you may nullify references to these joints and shapes.
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.