Esempio n. 1
0
 public void MoveUp <T, TP>(
     FlythroughEvent <T> evt,
     EventSequence <TP> mainSequence,
     EventSequence <T> parallelSequence,
     Action <FlythroughEvent <TP> > parralelChangeEvt,
     Action <FlythroughEvent <T> > changeEvt)
 {
     if (mPlugin.SynchStreams && evt.SequenceStartTime < mainSequence.Length)
     {
         FlythroughEvent <TP> pair = mainSequence[evt.SequenceStartTime];
         if (pair != null && pair.SequenceStartTime == evt.SequenceStartTime)
         {
             mainSequence.MoveUp(pair);
             if (parralelChangeEvt != null)
             {
                 parralelChangeEvt(pair);
             }
         }
     }
     parallelSequence.MoveUp(evt);
     if (PositionOrderChanged != null)
     {
         changeEvt(evt);
     }
 }
Esempio n. 2
0
 public void MoveUp(ComboEvent evt)
 {
     mEvents.MoveUp(evt);
     if (evt.SequenceStartTime == 0)
     {
         evt.StartValue = Start;
     }
 }