2023-02-17 11:06:01 +01:00

17 lines
359 B
JavaScript

import { ValueWithRandom } from "tsparticles-engine";
export class LifeDelay extends ValueWithRandom {
constructor() {
super();
this.sync = false;
}
load(data) {
if (!data) {
return;
}
super.load(data);
if (data.sync !== undefined) {
this.sync = data.sync;
}
}
}