예제 #1
0
 protected override void CloneTo(AnimationControler.BaseThreadParam clon)
 {
     base.CloneTo(clon);
     ((RectArrayThreadParam)clon).rects = (Rectangle[])rects.Clone();
     ((RectArrayThreadParam)clon).objects = (object[])objects.Clone();
     ((RectArrayThreadParam)clon).speedMode = speedMode;
 }
예제 #2
0
 internal static AnimationControler.AnimePacket AnimeWaitPacket(string queueName, int time, bool queue, int queueLevel, object qOwner, AnimationControler.FinalCallback finalCallback)
 {
     AnimationControler.BaseThreadParam baseThreadParam = new AnimationControler.BaseThreadParam();
     baseThreadParam.time = time;
     baseThreadParam.QueueLevel = queueLevel;
     baseThreadParam.finalCallback = finalCallback;
     baseThreadParam.queueName = queueName;
     return new AnimationControler.AnimePacket() { isQueue = queue && queueLevel >= 0, queueOwner = qOwner, method = Wait, threadParam = baseThreadParam };
 }
예제 #3
0
        private static void Wait(object baseThreadParam)
        {
            AnimationControler.BaseThreadParam td = (AnimationControler.BaseThreadParam)baseThreadParam;
            StepProcesor procesor = new StepProcesor(AnimationControler.GetIterations(td.time), td.time);

            procesor.Start((d) => { if (td.animatorState.Canceled) d.Cancel = true; });

            td.controlState.AnimatorEnd(td.animatorState);
        }
예제 #4
0
 protected override void CloneTo(AnimationControler.BaseThreadParam clon)
 {
     base.CloneTo(clon);
     ((LocationThreadParam)clon).location = location;
     ((LocationThreadParam)clon).speedMode = speedMode;
 }
예제 #5
0
 protected override void CloneTo(AnimationControler.BaseThreadParam clon)
 {
     base.CloneTo(clon);
     ((ColorThreadParam)clon).color = color;
     ((ColorThreadParam)clon).speedMode = speedMode;
 }
예제 #6
0
 protected override void CloneTo(AnimationControler.BaseThreadParam clon)
 {
     base.CloneTo(clon);
     ((HiglightThreadParam)clon).HiglightPercent = HiglightPercent;
 }
예제 #7
0
 protected override void CloneTo(AnimationControler.BaseThreadParam clon)
 {
     base.CloneTo(clon);
     ((IntValueThreadParam)clon).value = value;
     ((IntValueThreadParam)clon).speedMode = speedMode;
 }
예제 #8
0
 protected override void CloneTo(AnimationControler.BaseThreadParam clon)
 {
     base.CloneTo(clon);
     ((CustomThreadParam) clon).customMethod = customMethod;
     ((CustomThreadParam) clon).MaxIteration = MaxIteration;
 }
예제 #9
0
 protected override void CloneTo(AnimationControler.BaseThreadParam clon)
 {
     base.CloneTo(clon);
     ((RectThreadParam)clon).rect = rect;
     ((RectThreadParam)clon).speedMode = speedMode;
 }
예제 #10
0
 protected override void CloneTo(AnimationControler.BaseThreadParam clon)
 {
     base.CloneTo(clon);
     ((SizeThreadParam)clon).size = size;
     ((SizeThreadParam)clon).speedMode = speedMode;
 }