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

type b2BoundaryListener

source code


This is called when a body's shape passes outside of the world boundary.

Instance Methods [hide private]
 
__swig_destroy__(...)
delete_b2BoundaryListener(b2BoundaryListener 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
b2BoundaryListener
__init__(self) source code
 
__disown__(self) source code
 
Violation(...)
b2BoundaryListener_Violation(b2BoundaryListener self, b2Body body)
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: b2BoundaryListener
Overrides: object.__init__

Violation(...)

source code 

b2BoundaryListener_Violation(b2BoundaryListener self, b2Body body)

This is called for each body that leaves the world boundary. WARNING: you can't modify the world inside this callback.


Property Details [hide private]

thisown

The membership flag