@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
31 lines • 774 B
TypeScript
export class ManagedAtlas {
/**
*
* @param {AssetManager} assetManager
* @constructor
*/
constructor(assetManager: AssetManager);
__caching_atlas: CachingTextureAtlas;
/**
*
* @type {TextureAtlas}
*/
atlas: TextureAtlas;
reset(): void;
/**
*
* @param {string} key
* @returns {Promise<Reference<AtlasPatch>>}
*/
acquire(url: any): Promise<Reference<AtlasPatch>>;
/**
*
* @param {string} key
*/
release(key: string): void;
#private;
}
import { CachingTextureAtlas } from "./CachingTextureAtlas.js";
import { TextureAtlas } from "./TextureAtlas.js";
import { Reference } from "../../../reference/v2/Reference.js";
//# sourceMappingURL=ManagedTextureAtlas.d.ts.map