Commits

German Larrain committed 8cb61d5

physics.adapters.OdeBody: added docstrings to class and constructor.

Comments (0)

Files changed (1)

ars/model/physics/adapters.py

 
 
 class OdeBody(object):
+
+	"""Abstract class, sort of equivalent to :class:`ode.Body`."""
+
 	__metaclass__ = ABCMeta
 
 	def __init__(self, world, space, mass=None, density=None, *args, **kwargs):
+		"""Constructor.
+
+		:param world:
+		:type world: :class:`.base.World`
+		:param space:
+		:type space: :class:`.collision.base.Space`
+		:param mass:
+		:type mass: float or None
+		:param density:
+		:type density: float or None
+
+		"""
 		self._inner_object = None
 
 	#==========================================================================