Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected _data

_data: IResourceManagerManifest<string> = {}

Protected _resources

Accessors

count

  • get count(): number

Methods

Protected _createLoader

add

cemit

  • cemit(type: string, context: any, ...args: any[]): SoundManifest
  • Emit event with specifying a context.

    Parameters

    • type: string

      Event type to emit.

    • context: any

      Context to execute the callback.

    • Rest ...args: any[]

      Argument(s) in callback.

    Returns SoundManifest

cemitAll

  • Emit all events with specifying a context.

    Parameters

    • context: any

      Context to execute the callback.

    • Rest ...args: any[]

      Argument(s) in callback.

    Returns SoundManifest

clear

  • Remove events grouped event type.

    Parameters

    • Optional type: string

      Event type to remove. If it is empty, removes all events.

    Returns SoundManifest

destroyResources

  • destroyResources(): void

emit

  • Emit event.

    Parameters

    • type: string

      Event type to emit.

    • Rest ...args: any[]

      Argument(s) in callback.

    Returns SoundManifest

emitAll

  • Emit all events.

    Parameters

    • Rest ...args: any[]

      Argument(s) in callback.

    Returns SoundManifest

getAsync

off

  • Unregister event.

    Parameters

    • type: string

      Event type.

    • callback: IEmitterDelegate

      Registered callback.

    Returns SoundManifest

on

  • Register event.

    Parameters

    • type: string

      Event type.

    • callback: IEmitterDelegate

      Callback when the event fires.

    Returns SoundManifest

once

  • Register one-time event.

    Parameters

    • type: string

      Event type.

    • callback: IEmitterDelegate

      Callback when the event fires.

    Returns SoundManifest

Generated using TypeDoc