Exemplo n.º 1
0
        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 >();
        }
Exemplo n.º 2
0
        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>();
        }