Class AssetLoader

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(assetURLs: Array<string>, crossorigin?: boolean): AssetLoader

Parameters

  • assetURLs: Array<string>
  • crossorigin?: boolean optional

Returns

AssetLoader

Properties

public assetURLs: Array<string>

public onComplete: IBasicCallback

public onProgress: IBasicCallback

Methods

public addEventListener(type: string, listener: (event: PIXI.IEvent) => void): any

Parameters

  • type: string
  • listener: (event: PIXI.IEvent) => void

Returns

any

public dispatchEvent(event: IEvent): any

Parameters

Returns

any

public load()

public removeEventListener(type: string, listener: (event: PIXI.IEvent) => void): any

Parameters

  • type: string
  • listener: (event: PIXI.IEvent) => void

Returns

any