public Timer AddFarmeRepeatTimer(int delayFrame, int repeatFrame, Action <object[]> callback, params object[] args) { Timer timer = new FrameRepeatTimer(delayFrame, repeatFrame, callback, args); _timers.Add(timer); return(timer); }
public Timer AddFarmeRepeatTimer(int delayFrame, int repeatFrame, Action callback) { Timer timer = new FrameRepeatTimer(delayFrame, repeatFrame, (objs) => callback(), null); _timers.Add(timer); return(timer); }