ClassTweens & Motion@public
FlxFlickerTween
Flickers a lifecycle object's visibility using deterministic game time.
ts
export declare class FlxFlickerTween extends FlxTweenConstructors
ts
constructor(options?: FlxFlickerTweenOptions, manager?: FlxTweenManager)Constructs a new instance of the FlxFlickerTween class
| Parameter | Type | Description |
|---|---|---|
options | FlxFlickerTweenOptions | - |
manager | FlxTweenManager | - |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
basic | - | FlxBasic | null | - |
endVisibility | - | boolean | - |
period | - | number | - |
ratio | - | number | - |
tweenFunction | - | (tween: FlxFlickerTween) => boolean | - |
Methods
static defaultTweenFunction()
ts
static defaultTweenFunction(tween: FlxFlickerTween): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
tween | FlxFlickerTween | - |
Returns: boolean
destroy()
ts
destroy(): voidReturns: void
tween()
ts
tween(basic: FlxBasic, duration: number, period: number): thisParameters:
| Parameter | Type | Description |
|---|---|---|
basic | FlxBasic | - |
duration | number | - |
period | number | - |
Returns: this