useful comment

This commit is contained in:
yuki 2025-11-11 19:30:53 -03:00
parent 4a149be546
commit 0fff61f93c

View file

@ -1,3 +1,9 @@
--[[
Generally whenever you want to get a position B that is distance units away from position A such that position B is positioned at a specific angle in relation to position A, the pattern is something like:
bx = ax + distance*math.cos(angle) and by = ay + distance*math.sin(angle).
]]
---@class Player:GameObject
---@field area Area
---@field x number