2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module PhysicsWorld
|
2014-07-02 10:15:26 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] setGravity
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsWorld] getAllBodies
|
|
|
|
-- @param self
|
|
|
|
-- @return array_table#array_table ret (return value: array_table)
|
|
|
|
|
2014-05-02 08:37:21 +08:00
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] getDebugDrawMask
|
2014-05-02 08:37:21 +08:00
|
|
|
-- @param self
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @return int#int ret (return value: int)
|
2014-05-02 08:37:21 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] setAutoStep
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsWorld] addJoint
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.PhysicsJoint physicsjoint
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsWorld] removeAllJoints
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsWorld] isAutoStep
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, int
|
|
|
|
-- @overload self, cc.PhysicsBody
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] removeBody
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.PhysicsBody physicsbody
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsWorld] removeJoint
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.PhysicsJoint physicsjoint
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] getShapes
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @param #vec2_table vec2
|
|
|
|
-- @return array_table#array_table ret (return value: array_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] step
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] setDebugDrawMask
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @param #int int
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] getGravity
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] setUpdateRate
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @param #int int
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] getSpeed
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @return float#float ret (return value: float)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] getUpdateRate
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] removeAllBodies
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] setSpeed
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @param #float float
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] getShape
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @param #vec2_table vec2
|
|
|
|
-- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @function [parent=#PhysicsWorld] getBody
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-08-13 14:42:14 +08:00
|
|
|
-- @param #int int
|
|
|
|
-- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
return nil
|