diff --git a/obj/game/Player.lua b/obj/game/Player.lua index 0b33434..04be4ee 100644 --- a/obj/game/Player.lua +++ b/obj/game/Player.lua @@ -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