1 | import type { Container } from "../../Core/Container";
|
2 | import type { ICoordinates } from "../../Core/Interfaces/ICoordinates";
|
3 | import type { IEmitter } from "./Options/Interfaces/IEmitter";
|
4 | import type { Emitters } from "./Emitters";
|
5 | import type { IEmitterSize } from "./Options/Interfaces/IEmitterSize";
|
6 | import { IDelta } from "../../Core/Interfaces/IDelta";
|
7 | import { IHsl } from "../../Core/Interfaces/Colors";
|
8 | export declare class EmitterInstance {
|
9 | private readonly emitters;
|
10 | private readonly container;
|
11 | position: ICoordinates;
|
12 | size: IEmitterSize;
|
13 | emitterOptions: IEmitter;
|
14 | spawnColor?: IHsl;
|
15 | readonly name?: string;
|
16 | private paused;
|
17 | private currentEmitDelay;
|
18 | private currentSpawnDelay;
|
19 | private currentDuration;
|
20 | private lifeCount;
|
21 | private firstSpawn;
|
22 | private duration?;
|
23 | private emitDelay?;
|
24 | private spawnDelay?;
|
25 | private readonly immortal;
|
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 setColorAnimation;
|
40 | }
|