Skip to content
ClassTweens & Motion@public

FlxNumTween

Standalone numeric tween created by FlxTween.num.

ts
export declare class FlxNumTween extends FlxTween

Constructors

ts
constructor(fromValue: number, toValue: number, duration: number, options?: FlxTweenOptions, tweenFunction?: (value: number) => void, manager?: FlxTweenManager)

Constructs a new instance of the FlxNumTween class

ParameterTypeDescription
fromValuenumber-
toValuenumber-
durationnumber-
optionsFlxTweenOptions-
tweenFunction(value: number) => void-
managerFlxTweenManager-

Properties

PropertyModifiersTypeDescription
value-number-

Methods

destroy()

ts
destroy(): void

Returns: void

Released under the MIT License.