Package pybox2d :: Module Box2D :: Class b2DestructionListener
[hide private]
[frames] | no frames]

type b2DestructionListener

source code


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.

Instance Methods [hide private]
 
__swig_destroy__(...)
delete_b2DestructionListener(b2DestructionListener self)
 
__repr__(self) source code
 
__getstate__(self, additional_ignore=[])
Returns a dictionary representation of self, with dict(var=value [, ...])
source code
 
__setstate__(self, dict)
Takes each variable=value pair in the dictionary and sets the attributes based on them
source code
b2DestructionListener
__init__(self) source code
 
__disown__(self) source code
 
SayGoodbye(...)
SayGoodbye(b2Joint joint) b2DestructionListener_SayGoodbye(b2DestructionListener self, b2Shape shape)
source code
Properties [hide private]
  thisown
The membership flag
Method Details [hide private]

__repr__(self)
(Representation operator)

source code 
Overrides: object.__repr__
(inherited documentation)

__getstate__(self, additional_ignore=[])

source code 

Returns a dictionary representation of self, with 
 dict(var=value [, ...])

additional_ignore can be specified to ignore certain
properties. 

__init__(self)
(Constructor)

source code 
Returns: b2DestructionListener
Overrides: object.__init__

SayGoodbye(...)

source code 

SayGoodbye(b2Joint joint) b2DestructionListener_SayGoodbye(b2DestructionListener self, b2Shape shape)

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


Property Details [hide private]

thisown

The membership flag