AnimControl: correct javadoc for the no-arg constructor (#1233)
This commit is contained in:
parent
f9d2e03362
commit
8a04afd7a1
@ -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…
x
Reference in New Issue
Block a user