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

26 lines
618 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EmitterSize = void 0;
class EmitterSize {
constructor() {
this.mode = "percent";
this.height = 0;
this.width = 0;
}
load(data) {
if (data === undefined) {
return;
}
if (data.mode !== undefined) {
this.mode = data.mode;
}
if (data.height !== undefined) {
this.height = data.height;
}
if (data.width !== undefined) {
this.width = data.width;
}
}
}
exports.EmitterSize = EmitterSize;