From 49f2f52f95b68bd9d6887c7851a02c2f397c3bdc Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Sat, 29 Oct 2016 10:10:24 +0200 Subject: [PATCH] Javadocs. --- .../src/com/esotericsoftware/spine/AnimationState.java | 4 ++++ .../spine-libgdx/src/com/esotericsoftware/spine/Bone.java | 2 +- .../spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java | 2 +- .../esotericsoftware/spine/attachments/VertexAttachment.java | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java index d11c708f5..fa34641ac 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java @@ -1024,6 +1024,10 @@ public class AnimationState { start, interrupt, end, dispose, complete, event } + /** The interface which can be implemented to receive TrackEntry events. + *

+ * See TrackEntry {@link TrackEntry#setListener(AnimationStateListener)} and AnimationState + * {@link AnimationState#addListener(AnimationStateListener)}. */ static public interface AnimationStateListener { /** Invoked when this entry has been set as the current entry. */ public void start (TrackEntry entry); diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Bone.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Bone.java index cbd72355d..f0aa4b027 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Bone.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Bone.java @@ -94,7 +94,7 @@ public class Bone implements Updatable { /** Computes the world transform using the parent bone and the specified local transform. Child bones are not updated. *

- * See World transforms in the Spine + * See World transforms in the Spine * Runtimes Guide. */ public void updateWorldTransform (float x, float y, float rotation, float scaleX, float scaleY, float shearX, float shearY) { ax = x; diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java index f5e92b8ab..c772db37d 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java @@ -296,7 +296,7 @@ public class Skeleton { /** Updates the world transform for each bone and applies all constraints. *

- * See World transforms in the Spine + * See World transforms in the Spine * Runtimes Guide. */ public void updateWorldTransform () { // This partial update avoids computing the world transform for constrained bones when 1) the bone is not updated diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/attachments/VertexAttachment.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/attachments/VertexAttachment.java index 6b7da3923..b0c57b607 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/attachments/VertexAttachment.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/attachments/VertexAttachment.java @@ -56,7 +56,7 @@ public class VertexAttachment extends Attachment { /** Transforms local {@link #getVertices()} to world coordinates. If the slot has {@link Slot#getAttachmentVertices()}, they * are used to deform the vertices. *

- * See World transforms in the Spine + * See World transforms in the Spine * Runtimes Guide. * @param start The index of the first {@link #getVertices()} value to transform. Each vertex has 2 values, x and y. * @param count The number of world vertex values to output. Must be <= {@link #getWorldVerticesLength()} - start.