Example #1
0
 private void setAction(SkyAction skyAction)
 {
     skyAction.ParentAction = null;
     PlayTime += skyAction.PlayTime;
     if (ParentAction != null)
         this.ParentAction.ReComputePlaytime ();
 }
Example #2
0
 public override void RemoveAction(SkyAction skyAction)
 {
     AnimationSequence.Remove (skyAction);
     skyAction.ParentAction = null;
     PlayTime -= skyAction.PlayTime;
     if (ParentAction != null)
         this.ParentAction.ReComputePlaytime ();
 }
Example #3
0
 private void setAction(SkyAction skyAction)
 {
     skyAction.ParentAction = null;
     PlayTime += skyAction.PlayTime;
     if (ParentAction != null)
     {
         this.ParentAction.ReComputePlaytime();
     }
 }
Example #4
0
 private void setAction(SkyAction skyAction)
 {
     skyAction.ParentAction = this;
     if (skyAction.PlayTime > PlayTime) {
         PlayTime = skyAction.PlayTime;
         if (ParentAction != null)
             this.ParentAction.ReComputePlaytime ();
     }
 }
Example #5
0
 public override void RemoveAction(SkyAction skyAction)
 {
     AnimationSequence.Remove(skyAction);
     skyAction.ParentAction = null;
     PlayTime -= skyAction.PlayTime;
     if (ParentAction != null)
     {
         this.ParentAction.ReComputePlaytime();
     }
 }
Example #6
0
 public override void PlayNext(SkyAction skyAction)
 {
     if (AnimationSequence.Contains (skyAction)) {
         int index = AnimationSequence.IndexOf (skyAction);
         if (index < AnimationSequence.Count - 1) {
             AnimationSequence [index + 1].Play ();
         } else {
             PlayCallBack.OnCompleteMethod ();
         }
     }
 }
Example #7
0
 private void setAction(SkyAction skyAction)
 {
     skyAction.ParentAction = this;
     if (skyAction.PlayTime > PlayTime)
     {
         PlayTime = skyAction.PlayTime;
         if (ParentAction != null)
         {
             this.ParentAction.ReComputePlaytime();
         }
     }
 }
Example #8
0
 public override void PlayNext(SkyAction skyAction)
 {
     if (AnimationSequence.Contains(skyAction))
     {
         int index = AnimationSequence.IndexOf(skyAction);
         if (index < AnimationSequence.Count - 1)
         {
             AnimationSequence [index + 1].Play();
         }
         else
         {
             PlayCallBack.OnCompleteMethod();
         }
     }
 }
Example #9
0
 public virtual void AppendAction(SkyAction skyAction)
 {
 }
Example #10
0
 public virtual void AddHead(SkyAction skyAction)
 {
 }
Example #11
0
 public virtual void AddHead(SkyAction skyAction)
 {
 }
Example #12
0
 public virtual void PlayNext(SkyAction skyAction)
 {
 }
Example #13
0
 public virtual void RemoveAction(SkyAction skyAction)
 {
 }
Example #14
0
 public virtual void AppendAction(SkyAction skyAction)
 {
 }
Example #15
0
 public override void AddHead(SkyAction skyAction)
 {
     AnimationSequence.Insert (0, skyAction);
     setAction (skyAction);
 }
Example #16
0
 public override void AddHead(SkyAction skyAction)
 {
     AnimationSequence.Insert(0, skyAction);
     setAction(skyAction);
 }
Example #17
0
 public virtual void PlayNext(SkyAction skyAction)
 {
 }
Example #18
0
 public override void AppendAction(SkyAction skyAction)
 {
     AnimationSequence.Add (skyAction);
     setAction (skyAction);
 }
Example #19
0
 public override void PlayNext(SkyAction skyAction)
 {
 }
Example #20
0
 public override void AppendAction(SkyAction skyAction)
 {
     AnimationSequence.Add(skyAction);
     setAction(skyAction);
 }
Example #21
0
 public virtual void RemoveAction(SkyAction skyAction)
 {
 }
Example #22
0
 public override void PlayNext(SkyAction skyAction)
 {
 }