Javadocs.

This commit is contained in:
NathanSweet 2019-04-30 16:28:21 +02:00
parent f1e199b2bd
commit f0533b6093

View File

@ -155,8 +155,8 @@ public class Skeleton {
updateCache();
}
/** Caches information about bones and constraints. Must be called if the skin is changed or if bones, constraints, or weighted
* path attachments are added or removed. */
/** Caches information about bones and constraints. Must be called if the skin is modified or if bones, constraints, or
* weighted path attachments are added or removed. */
public void updateCache () {
Array<Updatable> updateCache = this.updateCache;
updateCache.clear();
@ -512,7 +512,8 @@ public class Skeleton {
setSkin(skin);
}
/** Sets the skin used to look up attachments before looking in the {@link SkeletonData#getDefaultSkin() default skin}.
/** Sets the skin used to look up attachments before looking in the {@link SkeletonData#getDefaultSkin() default skin}. If the
* skin is changed, {@link #updateCache()} is called.
* <p>
* Attachments from the new skin are attached if the corresponding attachment from the old skin was attached. If there was no
* old skin, each slot's setup mode attachment is attached from the new skin.