@robotical/scratch-to-python-transpiler
Version:
Transpile Scratch project files to python code
17 lines (16 loc) • 440 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var id_1 = require("./util/id");
var Costume = /** @class */ (function () {
function Costume(options) {
Object.assign(this, options);
if (!this.id) {
this.id = id_1.generateId();
}
}
Costume.prototype.setName = function (name) {
this.name = name;
};
return Costume;
}());
exports.default = Costume;