Files
LuaCsForBarotraumaEP/docs/lua/Timer.lua
Evil Factory 4436dd5226 improved docs
2021-11-24 21:25:10 -03:00

26 lines
514 B
Lua

-- luacheck: ignore 111
--[[--
Class providing timing related things.
]]
-- @code Timer
-- @pragma nostrip
Timer = {}
--- Get time in seconds.
-- @treturn number current time in seconds
-- @realm shared
function Timer.GetTime() end
--- Calls a function after a certain amount of time.
-- @realm shared
function Timer.Wait(func, milliseconds) end
--- Calls a function after a certain amount of time.
-- @realm shared
function Timer.GetUsageMemory() end
--- Same as GetTime()
-- @realm shared
Timer.Time = 0