diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java index 0ba81cb74..36cf215d2 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java @@ -70,7 +70,8 @@ public class Animation { /** Applies all the animation's timelines to the specified skeleton. *

- * See Timeline {@link Timeline#apply(Skeleton, float, float, Array, float, MixBlend, MixDirection)}. */ + * See Timeline {@link Timeline#apply(Skeleton, float, float, Array, float, MixBlend, MixDirection)}. + * @param loop If true, the animation repeats after {@link #getDuration()}. */ public void apply (Skeleton skeleton, float lastTime, float time, boolean loop, Array events, float alpha, MixBlend blend, MixDirection direction) { if (skeleton == null) throw new IllegalArgumentException("skeleton cannot be null."); @@ -202,13 +203,15 @@ public class Animation { twoColor } + /** An interface for timelines which change the property of a bone. */ static public interface BoneTimeline extends Timeline { public void setBoneIndex (int index); - /** The index of the slot in {@link Skeleton#getSlots()} that will be changed. */ + /** The index of the bone in {@link Skeleton#getBones()} that will be changed. */ public int getBoneIndex (); } + /** An interface for timelines which change the property of a slot. */ static public interface SlotTimeline extends Timeline { public void setSlotIndex (int index);