2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module PhysicsJointSpring
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend PhysicsJoint
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsJointSpring] setAnchr2
|
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.math::Vector2 array
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsJointSpring] setAnchr1
|
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.math::Vector2 array
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsJointSpring] getAnchr1
|
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.math::Vector2 array
|
|
|
|
-- @param #cc.math::Vector2 array
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
-- @return PhysicsJointSpring#PhysicsJointSpring ret (return value: cc.PhysicsJointSpring)
|
|
|
|
|
|
|
|
return nil
|