@csegames/camelot-unchained
Version:
Camelot Unchained Client Library
27 lines (26 loc) • 840 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
var BuildingBlock = function () {
function BuildingBlock(block) {
if (block === void 0) {
block = {};
}
this.id = block.id;
this.icon = block.icon;
this.shapeId = block.shapeId;
this.shapeTags = block.shapeTags || [];
this.materialId = block.materialId;
this.materialTags = block.materialTags || [];
}
BuildingBlock.create = function () {
var a = new BuildingBlock();
return a;
};
return BuildingBlock;
}();
exports.default = BuildingBlock;