interface IInteractor<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;
    reset(particle: TParticle): void;
}

Type Parameters

Hierarchy (view full)

Properties

loadOptions?: ((options: Options, ...sources: (undefined | RecursivePartial<IOptions>)[]) => void)
loadParticlesOptions?: ((options: ParticlesOptions, ...sources: (undefined | RecursivePartial<IParticlesOptions>)[]) => void)

Methods