22 lines
468 B
JavaScript
22 lines
468 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.Slow = void 0;
|
|
class Slow {
|
|
constructor() {
|
|
this.factor = 3;
|
|
this.radius = 200;
|
|
}
|
|
load(data) {
|
|
if (!data) {
|
|
return;
|
|
}
|
|
if (data.factor !== undefined) {
|
|
this.factor = data.factor;
|
|
}
|
|
if (data.radius !== undefined) {
|
|
this.radius = data.radius;
|
|
}
|
|
}
|
|
}
|
|
exports.Slow = Slow;
|