Examples of FlipYTimeline


Examples of com.esotericsoftware.spine.Animation.FlipYTimeline

            duration = Math.max(duration, timeline.getFrames()[frameCount * 3 - 3]);
            break;
          }
          case TIMELINE_FLIPX:
          case TIMELINE_FLIPY: {
            FlipXTimeline timeline = timelineType == TIMELINE_FLIPX ? new FlipXTimeline(frameCount) : new FlipYTimeline(
              frameCount);
            timeline.boneIndex = boneIndex;
            for (int frameIndex = 0; frameIndex < frameCount; frameIndex++)
              timeline.setFrame(frameIndex, input.readFloat(), input.readBoolean());
            timelines.add(timeline);
View Full Code Here

Examples of com.esotericsoftware.spine.Animation.FlipYTimeline

          timelines.add(timeline);
          duration = Math.max(duration, timeline.getFrames()[timeline.getFrameCount() * 3 - 3]);

        } else if (timelineName.equals("flipX") || timelineName.equals("flipY")) {
          boolean x = timelineName.equals("flipX");
          FlipXTimeline timeline = x ? new FlipXTimeline(timelineMap.size) : new FlipYTimeline(timelineMap.size);
          timeline.boneIndex = boneIndex;

          String field = x ? "x" : "y";
          int frameIndex = 0;
          for (JsonValue valueMap = timelineMap.child; valueMap != null; valueMap = valueMap.next) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.