class flixel.tweens.misc.NumTween extends FlxTween

Available on all platforms

Tweens a numeric value. See FlxTween.num()

Instance Fields

var value:Float

The current value.

function destroy():Void

Clean up references

function tween(fromValue:Float, toValue:Float, duration:Float, ?tweenFunction:Float ->Void = null):NumTween

Tweens the value from one value to another. * *

fromValue

Start value. *

toValue

End value. *

duration

Duration of the tween. *

tweenFunction

Optional tween function. See FlxTween.num()