SoundLoadTask

Extends: FileLoadTask

Loads one sound with Game.loadSound().


Constructor

new SoundLoadTask( game: BGE.Game, soundName: string, path: string, ): SoundLoadTask

Parameters

  • game (BGE.Game)
  • soundName (string)
  • path (string)

Instance Methods

loadFile(budgetMs: integer): boolean

Parameters

  • budgetMs (integer)

Returns

  • boolean

isDownloadedFileBad(): boolean

Returns

  • boolean