-------------------------------- -- @module PhysicsJointSpring -- @extend PhysicsJoint -------------------------------- -- @function [parent=#PhysicsJointSpring] setAnchr2 -- @param self -- @param #cc.Vec2 vec2 -------------------------------- -- @function [parent=#PhysicsJointSpring] setAnchr1 -- @param self -- @param #cc.Vec2 vec2 -------------------------------- -- @function [parent=#PhysicsJointSpring] getDamping -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#PhysicsJointSpring] setStiffness -- @param self -- @param #float float -------------------------------- -- @function [parent=#PhysicsJointSpring] getRestLength -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#PhysicsJointSpring] getAnchr2 -- @param self -- @return Vec2#Vec2 ret (return value: cc.Vec2) -------------------------------- -- @function [parent=#PhysicsJointSpring] getAnchr1 -- @param self -- @return Vec2#Vec2 ret (return value: cc.Vec2) -------------------------------- -- @function [parent=#PhysicsJointSpring] getStiffness -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#PhysicsJointSpring] setRestLength -- @param self -- @param #float float -------------------------------- -- @function [parent=#PhysicsJointSpring] setDamping -- @param self -- @param #float float -------------------------------- -- @function [parent=#PhysicsJointSpring] construct -- @param self -- @param #cc.PhysicsBody physicsbody -- @param #cc.PhysicsBody physicsbody -- @param #cc.Vec2 vec2 -- @param #cc.Vec2 vec2 -- @param #float float -- @param #float float -- @return PhysicsJointSpring#PhysicsJointSpring ret (return value: cc.PhysicsJointSpring) return nil