Exemple #1
0
 /// <summary>
 /// Make a new timeline event in the future
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 /// <param name="timebeforeevent">Deltas until event should fire</param>
 private void serviceNewTimelineEventInFuture(ruleItemBase sender, timelineEventArgs e, int timebeforeevent)
 {
     _timeline.addEventAtDelta(e, timebeforeevent);
 }
Exemple #2
0
 /// <summary>
 /// Make a new timeline event at the next delta
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void serviceNewTimelineEvent(ruleItemBase sender, timelineEventArgs e)
 {
     _timeline.addEventAtNextDelta(e);
 }
Exemple #3
0
 public void addEventAtNextDelta(timelineEventArgs eventArgs)
 {
     addEvent(new timelineEvent(delta + 1, eventArgs.newValue ));
 }
Exemple #4
0
 public void addEventAtDelta(timelineEventArgs eventArgs, int timebeforeevent)
 {
     addEvent(new timelineEvent(delta + timebeforeevent, eventArgs.newValue));
 }
Exemple #5
0
 public void onRequestNewTimelineEventInFuture(timelineEventArgs e, int timeBeforeEvent)
 {
     if (newTimelineEventInFuture != null)
     {
         newTimelineEventInFuture.Invoke((ruleItemBase)this, e, timeBeforeEvent);
     }
 }
Exemple #6
0
 public void onRequestNewTimelineEvent(timelineEventArgs e)
 {
     if (newTimelineEvent != null)
     {
         newTimelineEvent.Invoke((ruleItemBase) this, e);
     }
 }