@game-vir/entity - v15.1.1
    Preparing search index...

    Type Alias EntityConstructorParams<Params, Context>

    EntityConstructorParams: (
        IsNever<Extract<Context, undefined | null>> extends true
            ? { context: Context }
            : { context?: Context }
    ) & (
        IsNever<Extract<Params, undefined | null>> extends true
            ? { params: Params }
            : { params?: Params }
    ) & {
        entityStore: EntityStore<Context>;
        hitboxSystem: System;
        paramsMap?: ParamsMap<NoInfer<Params>>;
        pixi: Application;
    }

    Parameters for an entity's constructor.

    Type Parameters

    • Params extends Record<string, any> | undefined = undefined
    • Context = undefined