Public Member Functions
b2DestructionListener Class Reference

#include <b2WorldCallbacks.h>

List of all members.

Public Member Functions

virtual void SayGoodbye (b2Joint *joint)=0
virtual void SayGoodbye (b2Fixture *fixture)=0
virtual ~b2DestructionListener ()

Detailed Description

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 36 of file b2WorldCallbacks.h.


Constructor & Destructor Documentation

virtual b2DestructionListener::~b2DestructionListener ( ) [inline, virtual]

Definition at line 39 of file b2WorldCallbacks.h.


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 ( b2Fixture fixture) [pure virtual]

Called when any fixture is about to be destroyed due to the destruction of its parent body.


The documentation for this class was generated from the following file:


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 22:08:35