interface IParticlesInteractor<TParticle> {
    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(particle: TParticle, delta: IDelta): void;
    isEnabled(particle: TParticle): boolean;
    reset(particle: TParticle): void;
}

Type Parameters

Hierarchy (view full)

Implemented by

Properties

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