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.

11 lines (10 loc) 269 B
/** * Helper class to store images aand deserialize them from JSON. */ declare class ImageDefinition { name: string; image: HTMLImageElement; filename: string; static fromJSON(json: object): ImageDefinition & object; } export default ImageDefinition;