UNPKG

convex-pixel

Version:

The library for creating pseudo 3d interactive scenes based on webgl

21 lines 644 B
import { SonarDetector } from "./sonar-detector"; export declare enum SonarEventTypes { CHANGE = "change", LOST_CONTEXT = "lost-context" } export declare class Sonar { static instance: Sonar; static create(): Sonar; protected _interval: number | undefined; protected _poolDetectors: SonarDetector<object>[]; private _timerId; constructor(detectionInterval?: number); run(): void; stop(): void; add(detector: SonarDetector): void; remove(detector: SonarDetector): void; removeAll(): void; destroy(): void; private _tickHandler; } //# sourceMappingURL=sonar.d.ts.map