Beispiel #1
0
 def collide(self, other):
     m = B2D.b2Manifold()
     if isinstance(other._basic_shape, B2D.b2PolygonShape):
         self._poly_collide(m, self, other)
     else:
         self._circle_collide(m, self, other)
     return m