luncher/lib/tiny-debug.lua

12 lines
283 B
Lua

getCurrentTimeMilliseconds = playdate.getCurrentTimeMilliseconds
tinyTrackEntityAges = true
ENTITY_INIT_MS = { "ENTITY_INIT_MS" }
if tinyTrackEntityAges then
function tiny.getEntityAgeMs(entity)
return entity[ENTITY_INIT_MS]
end
end
tinyLogSystemUpdateTime = false