Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AudioSystem

Hierarchy

Index

Constructors

constructor

  • Parameters

    • id: string
    • game: Game

    Returns AudioSystem

Properties

Private _destroyRequestedAssets

_destroyRequestedAssets: object

Type declaration

Private _muted

_muted: boolean

Private _playbackRate

_playbackRate: number

Private _volume

_volume: number

game

game: Game

id

id: string

volume

volume: number

Methods

Private _onMutedChanged

  • _onMutedChanged(): void
  • Returns void

Private _onPlaybackRateChanged

  • _onPlaybackRateChanged(): void
  • Returns void

Private _onVolumeChanged

  • _onVolumeChanged(): void
  • Returns void

Private _reset

  • _reset(): void
  • Returns void

Private _setMuted

  • _setMuted(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

Private _setPlaybackRate

  • _setPlaybackRate(value: number): void
  • Parameters

    • value: number

    Returns void

createPlayer

findPlayers

requestDestroy

  • requestDestroy(asset: Asset): void
  • Parameters

    Returns void

stopAll

  • stopAll(): void
  • Returns void

Generated using TypeDoc