Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ResourceManager

Index

Constructors

constructor

Methods

Static add

  • add(jsonUrl: string): void

Static getTexture

  • getTexture(textureName: string, sheetName?: string): undefined | Texture<Resource>

Static loadResourcesFrom

  • loadResourcesFrom(resourceUrls: string[]): void

Static Private parseName

  • parseName(url: string): string

Static run

  • run(callAfterLoaded: () => void): void

Static setOnErrorCallback

  • setOnErrorCallback(callback: (error: Error) => void): void

Static setOnProgressCallback

  • setOnProgressCallback(callback: (loadStatusPercentage: number) => void): void
  • Parameters

    • callback: (loadStatusPercentage: number) => void
        • (loadStatusPercentage: number): void
        • Parameters

          • loadStatusPercentage: number

          Returns void

    Returns void

Generated using TypeDoc