typedef for setDrawFunction

This commit is contained in:
Jill 2022-09-23 23:14:42 +03:00
parent a8fd42f732
commit e3453aa49c
1 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,11 @@ resetActor = reset
--- Adds a child to an ActorFrame. **Please be aware of the side-effects!**
function addChild(frame, actor) end
---@param frame ActorFrame
---@param func function
--- SetDrawFunction with special behavior to account for Uranium's actor loading scheme.
function setDrawFunction(frame, func) end
---@type number
--- A simple timer. Ticks upwards at a rate of 1/sec.
---