Resource handler used for loading TextureAtlas resources.

Hierarchy (View Summary)

Properties

Accessors

Methods

Properties

_app: AppBase

The running app instance.

handlerType: string = ''

Type of the resource the handler handles.

Accessors

Methods

  • Load a resource from a remote URL. The base implementation does nothing.

    Parameters

    • url: any

      Either the URL of the resource to load or a structure containing the load and original URL.

    • callback: any

      The callback used when the resource is loaded or an error occurs.

    Returns void