summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/PhysicsJoint.lua
diff options
context:
space:
mode:
authorcarsakiller <carsakiller@gmail.com>2023-10-27 20:42:06 -0400
committercarsakiller <carsakiller@gmail.com>2023-10-27 20:42:06 -0400
commitd288cd1e6d0bb9fd4c05e6afa3e26bb7e0658839 (patch)
tree880f19aba4af55508874028df47c515d80b4874f /meta/3rd/Cocos4.0/library/cc/PhysicsJoint.lua
parent1536fa32dc84f386663035ab5d51db6af2cff5e8 (diff)
downloadlua-language-server-d288cd1e6d0bb9fd4c05e6afa3e26bb7e0658839.zip
refactor: replace Cocos4.0 with LuaCATS submodule
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/PhysicsJoint.lua')
m---------meta/3rd/Cocos4.00
-rw-r--r--meta/3rd/Cocos4.0/library/cc/PhysicsJoint.lua51
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