public void Simple(int miliseconds, DynValue function) { var t = new LuaTimerInstance("simple ..." + function.ReferenceID, miliseconds, 1, function); Timers.Add(t); t.Start(); }
public object Create(string identifier, int delay, int repeations, DynValue function) { var t = new LuaTimerInstance(identifier, delay, repeations, function); Timers.Add(t); t.Start(); return(t); }