summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc/PhysicsContact.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/PhysicsContact.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/cc/PhysicsContact.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc/PhysicsContact.lua b/meta/3rd/Cocos4.0/library/cc/PhysicsContact.lua
new file mode 100644
index 00000000..d5855b65
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/cc/PhysicsContact.lua
@@ -0,0 +1,24 @@
+---@meta
+
+---@class cc.PhysicsContact :cc.EventCustom
+local PhysicsContact={ }
+cc.PhysicsContact=PhysicsContact
+
+
+
+
+---* Get contact data.
+---@return cc.PhysicsContactData
+function PhysicsContact:getContactData () end
+---* Get the event code
+---@return int
+function PhysicsContact:getEventCode () end
+---* Get previous contact data
+---@return cc.PhysicsContactData
+function PhysicsContact:getPreContactData () end
+---* Get contact shape A.
+---@return cc.PhysicsShape
+function PhysicsContact:getShapeA () end
+---* Get contact shape B.
+---@return cc.PhysicsShape
+function PhysicsContact:getShapeB () end \ No newline at end of file