Creates a new tween.
Returns the current animation time.
Sets the current animation time to a specific value and returns the current animation value.
Returns true if the animation has finished. This function makes sense when the tween mode is set to bomb.
Returns true if the animation has started. This function makes sense when the tween mode is set to bomb.
Returns the current animation value. The value is between the first and the last animation value.
Returns the current animation progress. The progress is between 0.0 and 1.0.
Sets the current animation progress to a specific value. The progress is between 0.0 and 1.0.
Resets the current animation time.
Updates the current animation time by the given delta time and returns the current animation value.
The first animation value.
The last animation value.
The duration of the animation.
The function used to ease from the first to the last value.
Controls if the delta time given to the update function is reversed.
The mode of the animation.
The current time of the animation.
A tween handles the transition from one value to another value based on a transition duration.