UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

32 lines (28 loc) 608 B
export class AbstractTextureAtlas { /** * * @param {Sampler2D} sampler * @param {number} [padding] * @returns {AtlasPatch} */ add(sampler, padding) { throw new Error('Not Implemented'); } /** * * @param {AtlasPatch} patch * @returns {boolean} */ remove(patch) { throw new Error('Not Implemented') } get sampler() { throw new Error('Not Implemented') } /** * @throws {Error} if update fails */ update() { throw new Error('Not Implemented') } }