def _getX(self): return sage.getObjectPosX(self) def _getY(self): return sage.getObjectPosY(self)
def _getPos(self):return (sage.getObjectPosX(self), sage.getObjectPosY(self)) def _getVel(self): return (sage.getObjectVelX(self), sage.getObjectVelY(self))