1 | import type { Container } from "../../Core/Container";
|
2 | import type { IEmitter } from "./Options/Interfaces/IEmitter";
|
3 | import type { Emitters } from "./Emitters";
|
4 | import type { IEmitterSize } from "./Options/Interfaces/IEmitterSize";
|
5 | import type { ICoordinates, IDelta, IHsl } from "../../Core/Interfaces";
|
6 | export declare class EmitterInstance {
|
7 | #private;
|
8 | private readonly emitters;
|
9 | private readonly container;
|
10 | position: ICoordinates;
|
11 | size: IEmitterSize;
|
12 | emitterOptions: IEmitter;
|
13 | spawnColor?: IHsl;
|
14 | fill: boolean;
|
15 | readonly name?: string;
|
16 | private paused;
|
17 | private currentEmitDelay;
|
18 | private currentSpawnDelay;
|
19 | private currentDuration;
|
20 | private lifeCount;
|
21 | private duration?;
|
22 | private emitDelay?;
|
23 | private spawnDelay?;
|
24 | private readonly immortal;
|
25 | private readonly shape?;
|
26 | private readonly initialPosition?;
|
27 | private readonly particlesOptions;
|
28 | constructor(emitters: Emitters, container: Container, emitterOptions: IEmitter, position?: ICoordinates);
|
29 | externalPlay(): void;
|
30 | externalPause(): void;
|
31 | play(): void;
|
32 | pause(): void;
|
33 | resize(): void;
|
34 | update(delta: IDelta): void;
|
35 | private prepareToDie;
|
36 | private destroy;
|
37 | private calcPosition;
|
38 | private emit;
|
39 | private emitParticles;
|
40 | private setColorAnimation;
|
41 | }
|