UNPKG

@robotical/scratch-to-python-transpiler

Version:
17 lines (16 loc) 430 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var id_1 = require("./util/id"); var Sound = /** @class */ (function () { function Sound(options) { Object.assign(this, options); if (!this.id) { this.id = id_1.generateId(); } } Sound.prototype.setName = function (name) { this.name = name; }; return Sound; }()); exports.default = Sound;