Package pymunk :: Class Arbiter
[frames] | no frames]

Class Arbiter

object --+
         |
        Arbiter

Class for tracking collisions between shapes.
Instance Methods
 
__init__(self, arbiter, shapes, static_shapes)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties
  contacts
Information on the contact points between the objects.
  a
The first shape involved in the collision
  b
The second shape involved in the collision
  elasticity
Elasticity
  friction
Friction
  surface_velocity
Surface velocity
  stamp
Time stamp of the arbiter.

Inherited from object: __class__

Method Details

__init__(self, arbiter, shapes, static_shapes)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

Property Details

contacts

Information on the contact points between the objects.
Get Method:
_get_contacts(self)

a

The first shape involved in the collision
Get Method:
_get_a(self)

b

The second shape involved in the collision
Get Method:
_get_b(self)

elasticity

Elasticity
Get Method:
_get_elasticity(self)

friction

Friction
Get Method:
_get_friction(self)

surface_velocity

Surface velocity
Get Method:
_get_surface_velocity(self)

stamp

Time stamp of the arbiter. (from the space)
Get Method:
_get_stamp(self)