gameforge - v0.1.27
    Preparing search index...

    Type Alias TweenConfig<T>

    Configuration object for the Tween class.

    type TweenConfig<T> = {
        delay: number;
        duration: number;
        onComplete: () => void;
        target: T;
        ticker: Ticker;
        transition: Transition;
    }

    Type Parameters

    • T
    Index

    Properties

    delay: number

    Delay in milliseconds before the tween starts.

    duration: number

    Duration of the tween in milliseconds.

    onComplete: () => void

    Callback when tween finishes.

    target: T

    The target object.

    ticker: Ticker

    PixiJS's Ticker used for updates.

    transition: Transition

    Easing/transition function.