コード例 #1
0
ファイル: __init__.py プロジェクト: goosemo/monkey
 def _add_joint(self, joint):
     """Adds a joint to the space"""
     self._joints.add(joint)
     cp.cpSpaceAddJoint(self._space, joint._joint)
コード例 #2
0
ファイル: pymunk.py プロジェクト: kakila/cavemen
 def add_joint(self, joint):
     """Adds a joint to the space"""
     cp.cpSpaceAddJoint(self._space, joint._joint)
コード例 #3
0
ファイル: pymunk.py プロジェクト: ezequielp/cavemen
 def add_joint(self, joint):
     """Adds a joint to the space"""
     cp.cpSpaceAddJoint(self._space, joint._joint)