rsi/timeEvent.lua

17 lines
246 B
Lua
Raw Permalink Normal View History

2023-08-27 12:32:38 +00:00
timeEvent=object:extend()
function timeEvent:new(i,func, recurring)
self.i=i -- either period or counter, depending on recurring
this.func=func
this.recurring=recurring or false
end
function timeEvent:update()
if this.recurring
else
end
end