ClassTweens & Motion@public
FlxNumTween
Standalone numeric tween created by FlxTween.num.
ts
export declare class FlxNumTween extends FlxTweenConstructors
ts
constructor(fromValue: number, toValue: number, duration: number, options?: FlxTweenOptions, tweenFunction?: (value: number) => void, manager?: FlxTweenManager)Constructs a new instance of the FlxNumTween class
| Parameter | Type | Description |
|---|---|---|
fromValue | number | - |
toValue | number | - |
duration | number | - |
options | FlxTweenOptions | - |
tweenFunction | (value: number) => void | - |
manager | FlxTweenManager | - |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
value | - | number | - |
Methods
destroy()
ts
destroy(): voidReturns: void