Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IResourceLoader

Hierarchy

  • IResourceLoader

Implemented by

Index

Methods

getImageOverride

getPath

  • getPath(pathType: PathType.Corpse | PathType.Creature | PathType.Doodad | PathType.Equip | PathType.Hairstyle | PathType.Item | PathType.Mound | PathType.Music | PathType.Sleep | PathType.SoundEffect | PathType.Terrain | PathType.TileEvent, index: number, extra?: number): string
  • Parameters

    • pathType: PathType.Corpse | PathType.Creature | PathType.Doodad | PathType.Equip | PathType.Hairstyle | PathType.Item | PathType.Mound | PathType.Music | PathType.Sleep | PathType.SoundEffect | PathType.Terrain | PathType.TileEvent
    • index: number
    • Optional extra: number

    Returns string

initialize

  • initialize(gl: WebGL2RenderingContext): void
  • Parameters

    • gl: WebGL2RenderingContext

    Returns void

loadResources

  • Parameters

    Returns void

releaseLoadingSlot

  • releaseLoadingSlot(): void
  • Returns void

takeLoadingSlot

  • takeLoadingSlot(callback: function): void
  • Parameters

    • callback: function
        • (): void
        • Returns void

    Returns void

Generated using TypeDoc