-------------------------------- -- @module PhysicsJointSpring -- @extend PhysicsJoint -- @parent_module cc -------------------------------- -- -- @function [parent=#PhysicsJointSpring] setAnchr2 -- @param self -- @param #vec2_table anchr2 -- @return PhysicsJointSpring#PhysicsJointSpring self (return value: cc.PhysicsJointSpring) -------------------------------- -- -- @function [parent=#PhysicsJointSpring] setAnchr1 -- @param self -- @param #vec2_table anchr1 -- @return PhysicsJointSpring#PhysicsJointSpring self (return value: cc.PhysicsJointSpring) -------------------------------- -- -- @function [parent=#PhysicsJointSpring] getDamping -- @param self -- @return float#float ret (return value: float) -------------------------------- -- -- @function [parent=#PhysicsJointSpring] setStiffness -- @param self -- @param #float stiffness -- @return PhysicsJointSpring#PhysicsJointSpring self (return value: cc.PhysicsJointSpring) -------------------------------- -- -- @function [parent=#PhysicsJointSpring] getRestLength -- @param self -- @return float#float ret (return value: float) -------------------------------- -- -- @function [parent=#PhysicsJointSpring] getAnchr2 -- @param self -- @return vec2_table#vec2_table ret (return value: vec2_table) -------------------------------- -- -- @function [parent=#PhysicsJointSpring] getAnchr1 -- @param self -- @return vec2_table#vec2_table ret (return value: vec2_table) -------------------------------- -- -- @function [parent=#PhysicsJointSpring] getStiffness -- @param self -- @return float#float ret (return value: float) -------------------------------- -- -- @function [parent=#PhysicsJointSpring] createConstraints -- @param self -- @return bool#bool ret (return value: bool) -------------------------------- -- -- @function [parent=#PhysicsJointSpring] setRestLength -- @param self -- @param #float restLength -- @return PhysicsJointSpring#PhysicsJointSpring self (return value: cc.PhysicsJointSpring) -------------------------------- -- -- @function [parent=#PhysicsJointSpring] setDamping -- @param self -- @param #float damping -- @return PhysicsJointSpring#PhysicsJointSpring self (return value: cc.PhysicsJointSpring) -------------------------------- -- -- @function [parent=#PhysicsJointSpring] construct -- @param self -- @param #cc.PhysicsBody a -- @param #cc.PhysicsBody b -- @param #vec2_table anchr1 -- @param #vec2_table anchr2 -- @param #float stiffness -- @param #float damping -- @return PhysicsJointSpring#PhysicsJointSpring ret (return value: cc.PhysicsJointSpring) return nil