public void Add(TimedVar <T> var) { Timer timer = new Timer(var.GetSeconds(), (t) => TimerFinished(t, var.GetVar())); timer.Run(); timers.Add(var, timer); }
public float GetSeconds() { return(pvar.GetSeconds()); }