Example #1
0
 def _add_body(self, body):
     """Adds a body to the space"""
     self._bodies.add(body)
     cp.cpSpaceAddBody(self._space, body._body)
Example #2
0
 def add_body(self, body):
     """Adds a body to the space"""
     cp.cpSpaceAddBody(self._space, body._body)
Example #3
0
 def add_body(self, body):
     """Adds a body to the space"""
     cp.cpSpaceAddBody(self._space, body._body)