retrolib
Version:
Render low-res scenes to the canvas in a retro 8-bit era style. Aseprite exported animation wrapper, scene management, sound and image management, particle support.
13 lines • 387 B
JavaScript
/**
* Helper class to store images aand deserialize them from JSON.
*/
var ImageDefinition = /** @class */ (function () {
function ImageDefinition() {
}
ImageDefinition.fromJSON = function (json) {
return Object.assign(new ImageDefinition(), json);
};
return ImageDefinition;
}());
export default ImageDefinition;
//# sourceMappingURL=ImageDefinition.js.map