pw-js-api
Version:
A PixelWalker Library, aims to be minimal with support for browsers.
23 lines (22 loc) • 931 B
TypeScript
import type { AtlasesResult } from "../types/atlases.js";
/**
* This standalone class has all (static) functions related to the atlases.
*/
export default class PWAtlases {
/**
* This is the json including the data for aura toggle animations, fire, team colour, smileys and other sprites.
*/
static getSpritesJSON(): Promise<AtlasesResult>;
/**
* This is the json including the data for blocks (including animations / morphs, action blocks, decorations).
*/
static getBlocksJSON(): Promise<AtlasesResult>;
/**
* This is the spritesheet (image in arraybuffer) for aura toggle animations, fire, team colour, smileys and other sprites.
*/
static getSpritesPNG(): Promise<ArrayBuffer>;
/**
* This is the spritesheet (image in arraybuffer) for blocks (including animations / morphs, action blocks, decorations).
*/
static getBlocksPNG(): Promise<ArrayBuffer>;
}