"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Destroy = void 0; const DestroyBounds_1 = require("./DestroyBounds"); const Split_1 = require("./Split"); class Destroy { constructor() { this.bounds = new DestroyBounds_1.DestroyBounds(); this.mode = "none"; this.split = new Split_1.Split(); } load(data) { if (!data) { return; } if (data.mode) { this.mode = data.mode; } if (data.bounds) { this.bounds.load(data.bounds); } this.split.load(data.split); } } exports.Destroy = Destroy;