@awayjs/core
Version:
AwayJS core classes
50 lines • 932 B
TypeScript
import { IAsset } from '../library/IAsset';
import { EventBase } from './EventBase';
/**
* @export class away.events.AssetEvent
*/
export declare class AssetEvent extends EventBase {
/**
*
*/
static RENAME: string;
/**
*
*/
static ENTER_FRAME: string;
/**
*
*/
static EXIT_FRAME: string;
/**
*
*/
static ASSET_CONFLICT_RESOLVED: string;
/**
* Dispatched when the loading of an asset and all of its dependencies is complete.
*/
static ASSET_COMPLETE: string;
/**
*
*/
static TEXTURE_SIZE_ERROR: string;
private _asset;
private _prevName;
/**
*
*/
constructor(type: string, asset: IAsset, prevName?: string);
/**
*
*/
get asset(): IAsset;
/**
*
*/
get prevName(): string;
/**
*
*/
clone(): AssetEvent;
}
//# sourceMappingURL=AssetEvent.d.ts.map