@tsparticles/updater-life
Version:
tsParticles particles life updater
11 lines (10 loc) • 432 B
TypeScript
import { type IOptionLoader, type RecursivePartial } from "@tsparticles/engine";
import type { ILife } from "../Interfaces/ILife.js";
import { LifeDelay } from "./LifeDelay.js";
import { LifeDuration } from "./LifeDuration.js";
export declare class Life implements ILife, IOptionLoader<ILife> {
count: number;
readonly delay: LifeDelay;
readonly duration: LifeDuration;
load(data?: RecursivePartial<ILife>): void;
}