starling-framework
Version:
A fast, productive library for 2D cross-platform development.
23 lines • 594 B
TypeScript
declare namespace starling.assets {
/**
* An enumeration class containing all the asset types supported by the AssetManager.
*/
export class AssetType {
/**
* @private
*/
static TEXTURE: string;
static TEXTURE_ATLAS: string;
static SOUND: string;
static XML_DOCUMENT: string;
static OBJECT: string;
static BYTE_ARRAY: string;
static BITMAP_FONT: string;
static ASSET_MANAGER: string;
/**
* Figures out the asset type string from the type of the given instance.
*/
static fromAsset(asset: any): string;
}
}
export default starling.assets.AssetType;