public void AddSequentialTask(IClockTask f) { UndoneTasks.Add(f); }
IEnumerator RunTaskAndRaiseFlag(IClockTask f, int i) { yield return(f.Run()); TaskEndFlag[i] = true; }