import ..body::BodyLike import ..body::Body RADIUS = 0.01 # Size of a ship class Ship(BodyLike) { [body] static def __call(*args, **kwargs) = { __malloc(Ship, [Body(radius=RADIUS, *args, **kwargs)]) } def body(self) = self.body }