interface IExternalInteractor<TParticle> {
    handleClickMode?: ((mode: string) => void);
    loadModeOptions?: ((options: Modes, ...sources: RecursivePartial<undefined | IModes>[]) => void);
    loadOptions?: ((options: Options, ...sources: (undefined | RecursivePartial<IOptions>)[]) => void);
    loadParticlesOptions?: ((options: ParticlesOptions, ...sources: (undefined | RecursivePartial<IParticlesOptions>)[]) => void);
    type: InteractorType;
    clear(particle: TParticle, delta: IDelta): void;
    init(): void;
    interact(delta: IDelta): void;
    isEnabled(particle?: TParticle): boolean;
    reset(particle: TParticle): void;
}

Type Parameters

Hierarchy (view full)

Implemented by

Properties

handleClickMode?: ((mode: string) => void)
loadModeOptions?: ((options: Modes, ...sources: RecursivePartial<undefined | IModes>[]) => void)
loadOptions?: ((options: Options, ...sources: (undefined | RecursivePartial<IOptions>)[]) => void)
loadParticlesOptions?: ((options: ParticlesOptions, ...sources: (undefined | RecursivePartial<IParticlesOptions>)[]) => void)

Methods

  • Parameters

    Returns void

  • Returns void

  • Parameters

    Returns void

  • Parameters

    Returns boolean

  • Parameters

    Returns void