예제 #1
0
        private void addEvent(timelineEvent timelineEvent)
        {
            if (!_queue.ContainsKey(timelineEvent.delta))
                _queue.Add(timelineEvent.delta, new timelineBucket());

            _queue[timelineEvent.delta].Add(timelineEvent);
        }
예제 #2
0
파일: rule.cs 프로젝트: randomdude/Lavalamp
 /// <summary>
 /// Take an event and pass it to the relevant pin
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void handleTimelineEvent(timeline sender, timelineEvent e)
 {
     e.pinValue.performUpdate();
 }