summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love.physics.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-12 14:52:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-12 14:52:30 +0800
commit62025440534df25cdfb3766f8b59536cedc707e6 (patch)
tree45849ac97269e11a8609711e34074513e5580af4 /meta/3rd/love2d/library/love.physics.lua
parent6b3a0d0bb780b4eab4dbec77f3bb4d394aa5527f (diff)
downloadlua-language-server-62025440534df25cdfb3766f8b59536cedc707e6.zip
fix #902
Diffstat (limited to 'meta/3rd/love2d/library/love.physics.lua')
-rw-r--r--meta/3rd/love2d/library/love.physics.lua38
1 files changed, 19 insertions, 19 deletions
diff --git a/meta/3rd/love2d/library/love.physics.lua b/meta/3rd/love2d/library/love.physics.lua
index 7d3cd04d..3b5b1c8a 100644
--- a/meta/3rd/love2d/library/love.physics.lua
+++ b/meta/3rd/love2d/library/love.physics.lua
@@ -2273,78 +2273,78 @@ function World:update(dt, velocityiterations, positioniterations) end
---
---The types of a Body.
---
----@class love.BodyType
+---@alias love.BodyType
---
---Static bodies do not move.
---
----@field static integer
+---| '"static"'
---
---Dynamic bodies collide with all bodies.
---
----@field dynamic integer
+---| '"dynamic"'
---
---Kinematic bodies only collide with dynamic bodies.
---
----@field kinematic integer
+---| '"kinematic"'
---
---Different types of joints.
---
----@class love.JointType
+---@alias love.JointType
---
---A DistanceJoint.
---
----@field distance integer
+---| '"distance"'
---
---A FrictionJoint.
---
----@field friction integer
+---| '"friction"'
---
---A GearJoint.
---
----@field gear integer
+---| '"gear"'
---
---A MouseJoint.
---
----@field mouse integer
+---| '"mouse"'
---
---A PrismaticJoint.
---
----@field prismatic integer
+---| '"prismatic"'
---
---A PulleyJoint.
---
----@field pulley integer
+---| '"pulley"'
---
---A RevoluteJoint.
---
----@field revolute integer
+---| '"revolute"'
---
---A RopeJoint.
---
----@field rope integer
+---| '"rope"'
---
---A WeldJoint.
---
----@field weld integer
+---| '"weld"'
---
---The different types of Shapes, as returned by Shape:getType.
---
----@class love.ShapeType
+---@alias love.ShapeType
---
---The Shape is a CircleShape.
---
----@field circle integer
+---| '"circle"'
---
---The Shape is a PolygonShape.
---
----@field polygon integer
+---| '"polygon"'
---
---The Shape is a EdgeShape.
---
----@field edge integer
+---| '"edge"'
---
---The Shape is a ChainShape.
---
----@field chain integer
+---| '"chain"'