UNPKG

493 BTypeScriptView Raw
1import type { IParticle } from "../../Core/Interfaces/IParticle";
2import type { Container } from "../../Core/Container";
3import { Particle } from "../../Core/Particle";
4import type { IParticlesInteractor } from "../../Core/Interfaces/IParticlesInteractor";
5export declare class Attractor implements IParticlesInteractor {
6 private readonly container;
7 constructor(container: Container);
8 interact(p1: IParticle): void;
9 isEnabled(particle: Particle): boolean;
10 reset(): void;
11}