private Cycle(Cycle fromCycle) { Sequence = fromCycle.Sequence; _throttle = fromCycle._throttle; NextCycle = this; CycleKey = fromCycle.CycleKey; }
public Cycle(FrameSequence sequence, double throttleTime, string cycleKey) { Sequence = sequence; ThrottleTime = throttleTime; NextCycle = this; CycleKey = cycleKey; if (Cycle._cycles.ContainsKey(cycleKey)) { Cycle._cycles[cycleKey] = this; } else { Cycle._cycles.Add(cycleKey, this); } }