Package com.badlogic.gdx.utils

Examples of com.badlogic.gdx.utils.DataInput.readBoolean()


      skeletonData.version = input.readString();
      if (skeletonData.version.isEmpty()) skeletonData.version = null;
      skeletonData.width = input.readFloat();
      skeletonData.height = input.readFloat();

      boolean nonessential = input.readBoolean();

      if (nonessential) {
        skeletonData.imagesPath = input.readString();
        if (skeletonData.imagesPath.isEmpty()) skeletonData.imagesPath = null;
      }
View Full Code Here


        boneData.y = input.readFloat() * scale;
        boneData.scaleX = input.readFloat();
        boneData.scaleY = input.readFloat();
        boneData.rotation = input.readFloat();
        boneData.length = input.readFloat() * scale;
        boneData.flipX = input.readBoolean();
        boneData.flipY = input.readBoolean();
        boneData.inheritScale = input.readBoolean();
        boneData.inheritRotation = input.readBoolean();
        if (nonessential) Color.rgba8888ToColor(boneData.color, input.readInt());
        skeletonData.bones.add(boneData);
View Full Code Here

        boneData.scaleX = input.readFloat();
        boneData.scaleY = input.readFloat();
        boneData.rotation = input.readFloat();
        boneData.length = input.readFloat() * scale;
        boneData.flipX = input.readBoolean();
        boneData.flipY = input.readBoolean();
        boneData.inheritScale = input.readBoolean();
        boneData.inheritRotation = input.readBoolean();
        if (nonessential) Color.rgba8888ToColor(boneData.color, input.readInt());
        skeletonData.bones.add(boneData);
      }
View Full Code Here

        boneData.scaleY = input.readFloat();
        boneData.rotation = input.readFloat();
        boneData.length = input.readFloat() * scale;
        boneData.flipX = input.readBoolean();
        boneData.flipY = input.readBoolean();
        boneData.inheritScale = input.readBoolean();
        boneData.inheritRotation = input.readBoolean();
        if (nonessential) Color.rgba8888ToColor(boneData.color, input.readInt());
        skeletonData.bones.add(boneData);
      }

View Full Code Here

        boneData.rotation = input.readFloat();
        boneData.length = input.readFloat() * scale;
        boneData.flipX = input.readBoolean();
        boneData.flipY = input.readBoolean();
        boneData.inheritScale = input.readBoolean();
        boneData.inheritRotation = input.readBoolean();
        if (nonessential) Color.rgba8888ToColor(boneData.color, input.readInt());
        skeletonData.bones.add(boneData);
      }

      // IK constraints.
View Full Code Here

        String slotName = input.readString();
        BoneData boneData = skeletonData.bones.get(input.readInt(true));
        SlotData slotData = new SlotData(slotName, boneData);
        Color.rgba8888ToColor(slotData.color, input.readInt());
        slotData.attachmentName = input.readString();
        slotData.additiveBlending = input.readBoolean();
        skeletonData.slots.add(slotData);
      }

      // Default skin.
      Skin defaultSkin = readSkin(input, "default", nonessential);
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.