UNPKG

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 379 B
/** * Helper class to store sound effects and deserialize them from JSON. */ var SfxDefinition = /** @class */ (function () { function SfxDefinition() { } SfxDefinition.fromJSON = function (json) { return Object.assign(new SfxDefinition(), json); }; return SfxDefinition; }()); export default SfxDefinition; //# sourceMappingURL=SfxDefinition.js.map