diff --git a/jme3-core/src/main/java/com/jme3/anim/tween/action/Action.java b/jme3-core/src/main/java/com/jme3/anim/tween/action/Action.java index 6846f91460..0fb423f336 100644 --- a/jme3-core/src/main/java/com/jme3/anim/tween/action/Action.java +++ b/jme3-core/src/main/java/com/jme3/anim/tween/action/Action.java @@ -30,7 +30,13 @@ public double getLength() { return length; } - protected void setLength(double length) { + /** + * Alter the length (duration) of this Action. This can be used to extend + * or truncate an Action. + * + * @param length the desired length (in unscaled seconds, default=0) + */ + public void setLength(double length) { this.length = length; }