UNPKG

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