Package com.esotericsoftware.spine.attachments

Examples of com.esotericsoftware.spine.attachments.SkeletonAttachment


      goblinState = new AnimationState(new AnimationStateData(skeletonData));
      goblinState.setAnimation(0, "walk", true);

      // Instead of a right shoulder, spineboy will have a goblin!
      SkeletonAttachment skeletonAttachment = new SkeletonAttachment("goblin");
      skeletonAttachment.setSkeleton(goblin);
      spineboy.findSlot("front_upper_arm").setAttachment(skeletonAttachment);
    }
  }
View Full Code Here

TOP

Related Classes of com.esotericsoftware.spine.attachments.SkeletonAttachment

Copyright © 2018 www.massapicom. 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.