diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/PhysicsJoint.lua')
m--------- | meta/3rd/Cocos4.0 | 0 | ||||
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc/PhysicsJoint.lua | 51 |
2 files changed, 0 insertions, 51 deletions
diff --git a/meta/3rd/Cocos4.0 b/meta/3rd/Cocos4.0 new file mode 160000 +Subproject c0b2259e0d367561fd4563ae114b029b4dfe3a8 diff --git a/meta/3rd/Cocos4.0/library/cc/PhysicsJoint.lua b/meta/3rd/Cocos4.0/library/cc/PhysicsJoint.lua deleted file mode 100644 index 4655e156..00000000 --- a/meta/3rd/Cocos4.0/library/cc/PhysicsJoint.lua +++ /dev/null @@ -1,51 +0,0 @@ ----@meta - ----@class cc.PhysicsJoint -local PhysicsJoint={ } -cc.PhysicsJoint=PhysicsJoint - - - - ----* Get physics body a connected to this joint. ----@return cc.PhysicsBody -function PhysicsJoint:getBodyA () end ----* Get physics body b connected to this joint. ----@return cc.PhysicsBody -function PhysicsJoint:getBodyB () end ----* Get the max force setting. ----@return float -function PhysicsJoint:getMaxForce () end ----* Set the max force between two bodies. ----@param force float ----@return self -function PhysicsJoint:setMaxForce (force) end ----* Determines if the joint is enable. ----@return boolean -function PhysicsJoint:isEnabled () end ----* Enable/Disable the joint. ----@param enable boolean ----@return self -function PhysicsJoint:setEnable (enable) end ----* Enable/disable the collision between two bodies. ----@param enable boolean ----@return self -function PhysicsJoint:setCollisionEnable (enable) end ----* Get the physics world. ----@return cc.PhysicsWorld -function PhysicsJoint:getWorld () end ----* Set this joint's tag.<br> ----* param tag An integer number that identifies a PhysicsJoint. ----@param tag int ----@return self -function PhysicsJoint:setTag (tag) end ----* Remove the joint from the world. ----@return self -function PhysicsJoint:removeFormWorld () end ----* Determines if the collision is enable. ----@return boolean -function PhysicsJoint:isCollisionEnabled () end ----* Get this joint's tag.<br> ----* return An integer number. ----@return int -function PhysicsJoint:getTag () end
\ No newline at end of file |