summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love.physics.lua
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2022-02-08 21:57:56 +0800
committersumneko <sumneko@hotmail.com>2022-02-08 21:57:56 +0800
commit007e8637827b75d95f188df0f1c3173cabc53a8b (patch)
tree69fd9f98ba75099b97080c95001f3d6452de49d3 /meta/3rd/love2d/library/love.physics.lua
parentee476c7f4fb29ab6cf6e77205745428c0e2a8601 (diff)
downloadlua-language-server-007e8637827b75d95f188df0f1c3173cabc53a8b.zip
fix #941
Diffstat (limited to 'meta/3rd/love2d/library/love.physics.lua')
-rw-r--r--meta/3rd/love2d/library/love.physics.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/3rd/love2d/library/love.physics.lua b/meta/3rd/love2d/library/love.physics.lua
index dd1876f5..c0b80ff2 100644
--- a/meta/3rd/love2d/library/love.physics.lua
+++ b/meta/3rd/love2d/library/love.physics.lua
@@ -317,7 +317,7 @@ function Body:applyAngularImpulse(impulse) end
---
---Note that the force components and position must be given in world coordinates.
---
----@overload fun(fx: number, fy: number, x: number, y: number)
+---@overload fun(self: love.Body, fx: number, fy: number, x: number, y: number)
---@param fx number # The x component of force to apply to the center of mass.
---@param fy number # The y component of force to apply to the center of mass.
function Body:applyForce(fx, fy) end
@@ -333,7 +333,7 @@ function Body:applyForce(fx, fy) end
---
---Note that the impulse components and position must be given in world coordinates.
---
----@overload fun(ix: number, iy: number, x: number, y: number)
+---@overload fun(self: love.Body, ix: number, iy: number, x: number, y: number)
---@param ix number # The x component of the impulse applied to the center of mass.
---@param iy number # The y component of the impulse applied to the center of mass.
function Body:applyLinearImpulse(ix, iy) end