Commit Graph

6 Commits

Author SHA1 Message Date
Max Cahill
a5c26038df fixed reset timer still counting as expired 2022-06-07 16:43:20 +10:00
Max Cahill
dbce7e6083 managed expired state inside the timer rather than just checking if the time has expired; makes sure the callback fires even for zero length timers 2022-06-07 14:09:35 +10:00
flamendless
1d59b3623e Fixed typos 2021-07-18 09:30:22 +08:00
Max Cahill
3cc177a0c0 BREAKING class interface refactor - all classes will need a minor update, see class.lua
tl;dr is that new no longer needs to call init, calling :new() directly in user code is not allowed, properties are copied, metamethods work, and a config table is needed rather than a class to extend from, so use {extends = superclass} if you want a minimal fix
2021-07-15 16:15:27 +10:00
Max Cahill
41985928d2 [modified] timer to support changing the time in reset 2021-03-12 21:44:09 +11:00
Max Cahill
89ad4c2dda [added] pubsub and timer modules 2021-03-12 21:23:54 +11:00