1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.EmitterLife = void 0;
|
4 | class EmitterLife {
|
5 | constructor() {
|
6 | this.wait = false;
|
7 | }
|
8 | load(data) {
|
9 | if (data === undefined) {
|
10 | return;
|
11 | }
|
12 | if (data.count !== undefined) {
|
13 | this.count = data.count;
|
14 | }
|
15 | if (data.delay !== undefined) {
|
16 | this.delay = data.delay;
|
17 | }
|
18 | if (data.duration !== undefined) {
|
19 | this.duration = data.duration;
|
20 | }
|
21 | if (data.wait !== undefined) {
|
22 | this.wait = data.wait;
|
23 | }
|
24 | }
|
25 | }
|
26 | exports.EmitterLife = EmitterLife;
|