UNPKG

572 BTypeScriptView Raw
1import type { IDelta, IParticlesInteractor } from "./Interfaces";
2import type { Particle } from "./Particle";
3import type { Container } from "./Container";
4import { InteractorType } from "../Enums";
5export declare abstract class ParticlesInteractorBase implements IParticlesInteractor {
6 protected readonly container: Container;
7 protected constructor(container: Container);
8 type: InteractorType;
9 abstract interact(particle: Particle, delta: IDelta): void;
10 abstract isEnabled(particle: Particle): boolean;
11 abstract reset(particle: Particle): void;
12}