17 #ifndef DESTRUCTIONLISTENER_H
18 #define DESTRUCTIONLISTENER_H
20 #include <Box2D/Box2D.h>
39 virtual void SayGoodbye(b2Joint* joint)
override;
44 virtual void SayGoodbye(b2Fixture* fixture)
override;
46 static Joint* getJointObjectFromJoint(
const b2Joint* joint);
49 #endif // DESTRUCTIONLISTENER_H
Handler for object destruction notifications in b2World.
Definition: DestructionListener.h:33
virtual void SayGoodbye(b2Joint *joint) override
Notifies that joint is about to be destroyed.
A constraint between two Bodys.
Definition: Joint.h:28