1 | import type { Container } from "../Container";
|
2 | import type { Particle } from "../Particle";
|
3 | import type { IDelta } from "../Interfaces/IDelta";
|
4 | import { IParticleValueAnimation } from "../Interfaces/IParticleValueAnimation";
|
5 | import { IColorAnimation } from "../../Options/Interfaces/IColorAnimation";
|
6 | export declare class Updater {
|
7 | private readonly container;
|
8 | private readonly particle;
|
9 | constructor(container: Container, particle: Particle);
|
10 | update(delta: IDelta): void;
|
11 | private updateLife;
|
12 | private updateOpacity;
|
13 | private updateSize;
|
14 | private updateAngle;
|
15 | private updateColor;
|
16 | private updateStrokeColor;
|
17 | updateColorValue(particle: Particle, delta: IDelta, value: IParticleValueAnimation<number>, valueAnimation: IColorAnimation, max: number, decrease: boolean): void;
|
18 | private updateOutModes;
|
19 | private updateOutMode;
|
20 | private fixOutOfCanvasPosition;
|
21 | private updateBounce;
|
22 | private bounceNone;
|
23 | }
|