AnimControl: correct javadoc for the no-arg constructor (#1233)

fix-openal-soft-deadlink
Stephen Gold 5 years ago committed by GitHub
parent 8d9d091576
commit 6b7dd5b325
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      jme3-core/src/main/java/com/jme3/animation/AnimControl.java

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2009-2018 jMonkeyEngine * Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -102,7 +102,9 @@ public final class AnimControl extends AbstractControl implements Cloneable, Jme
} }
/** /**
* Serialization only. Do not use. * Instantiate an animation control with no skeleton, suitable only for
* animations that don't contain any bone tracks. Also used for
* serialization.
*/ */
public AnimControl() { public AnimControl() {
} }
@ -144,6 +146,7 @@ public final class AnimControl extends AbstractControl implements Cloneable, Jme
/** /**
* Retrieve an animation from the list of animations. * Retrieve an animation from the list of animations.
*
* @param name The name of the animation to retrieve. * @param name The name of the animation to retrieve.
* @return The animation corresponding to the given name, or null, if no * @return The animation corresponding to the given name, or null, if no
* such named animation exists. * such named animation exists.
@ -155,6 +158,7 @@ public final class AnimControl extends AbstractControl implements Cloneable, Jme
/** /**
* Adds an animation to be available for playing to this * Adds an animation to be available for playing to this
* <code>AnimControl</code>. * <code>AnimControl</code>.
*
* @param anim The animation to add. * @param anim The animation to add.
*/ */
public void addAnim(Animation anim) { public void addAnim(Animation anim) {
@ -163,6 +167,7 @@ public final class AnimControl extends AbstractControl implements Cloneable, Jme
/** /**
* Remove an animation so that it is no longer available for playing. * Remove an animation so that it is no longer available for playing.
*
* @param anim The animation to remove. * @param anim The animation to remove.
*/ */
public void removeAnim(Animation anim) { public void removeAnim(Animation anim) {
@ -231,6 +236,7 @@ public final class AnimControl extends AbstractControl implements Cloneable, Jme
/** /**
* Adds a new listener to receive animation related events. * Adds a new listener to receive animation related events.
*
* @param listener The listener to add. * @param listener The listener to add.
*/ */
public void addListener(AnimEventListener listener) { public void addListener(AnimEventListener listener) {
@ -244,6 +250,7 @@ public final class AnimControl extends AbstractControl implements Cloneable, Jme
/** /**
* Removes the given listener from listening to events. * Removes the given listener from listening to events.
*
* @param listener * @param listener
* @see AnimControl#addListener(com.jme3.animation.AnimEventListener) * @see AnimControl#addListener(com.jme3.animation.AnimEventListener)
*/ */
@ -308,6 +315,7 @@ public final class AnimControl extends AbstractControl implements Cloneable, Jme
/** /**
* Returns the length of the given named animation. * Returns the length of the given named animation.
*
* @param name The name of the animation * @param name The name of the animation
* @return The length of time, in seconds, of the named animation. * @return The length of time, in seconds, of the named animation.
*/ */

Loading…
Cancel
Save