public bool IsTimelineContain(LINK_TYPE linkType, int modifierID)
 {
     return(_timelines.Exists(delegate(apAnimTimeline a)
     {
         if (linkType == LINK_TYPE.AnimatedModifier)
         {
             return a._linkType == linkType && a._modifierUniqueID == modifierID;
         }
         else
         {
             return a._linkType == linkType;
         }
     }));
 }
Beispiel #2
0
 public Link(LINK_TYPE type, ComponentWrapper start, ComponentWrapper end)
 {
     this.Type           = type;
     this.StartComponent = start;
     this.EndComponent   = end;
 }
 public Link(LINK_TYPE type, ComponentWrapper start, ComponentWrapper end)
 {
     this.Type = type;
     this.StartComponent = start;
     this.EndComponent = end;
 }
Beispiel #4
0
 public void SetLinkType(Object sender, EventArgs e)
 {
     LINK_TYPE? nextLinkType = GetNextLinkType();
     if (!nextLinkType.Equals(null))
     {
         linkType = (LINK_TYPE)nextLinkType;
     }
     SetLinkDashStyle();
 }