Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MusicAudioSystem

Hierarchy

Index

Constructors

constructor

Properties

Private _destroyRequestedAssets

_destroyRequestedAssets: object

Type declaration

Private _muted

_muted: boolean

Private _playbackRate

_playbackRate: number

Private _player

_player: AudioPlayer

Private _suppressingAudio

_suppressingAudio: AudioAsset

Private _volume

_volume: number

game

game: Game

id

id: string

player

player: AudioPlayer

volume

volume: number

Methods

Private _onMutedChanged

  • _onMutedChanged(): void

Private _onPlaybackRateChanged

  • _onPlaybackRateChanged(): void

Private _onPlayerPlayed

Private _onPlayerStopped

Private _onUnsupportedPlaybackRateChanged

  • _onUnsupportedPlaybackRateChanged(): void
  • Returns void

Private _onVolumeChanged

  • _onVolumeChanged(): void

Private _reset

  • _reset(): void

Private _setMuted

  • _setMuted(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

Private _setPlaybackRate

  • _setPlaybackRate(value: number): void

createPlayer

findPlayers

requestDestroy

  • requestDestroy(asset: Asset): void

stopAll

  • stopAll(): void

Generated using TypeDoc