public Timeline( string name, bool startActive, float startTime, float effectTime, E_TimerType timerType, E_RestType restType ) { Name = name; Active = startActive; Time = 0.0f; StartTime = startTime; EffectTime = effectTime; TimerType = timerType; TimerDirection = ( startActive ? E_TimerDirection.Increase : E_TimerDirection.None ); RestType = restType; Effects = new List< TimelineEffect >(); }
public Timeline(string name, bool startActive, float startTime, float effectTime, E_TimerType timerType, E_RestType restType) { Name = name; Active = startActive; Time = 0.0f; StartTime = startTime; EffectTime = effectTime; TimerType = timerType; TimerDirection = (startActive ? E_TimerDirection.Increase : E_TimerDirection.None); RestType = restType; Effects = new List <TimelineEffect>(); }