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 Abstract _onMutedChanged

  • _onMutedChanged(): void
  • Returns void

Private Abstract _onPlaybackRateChanged

  • _onPlaybackRateChanged(): void
  • Returns void

Private Abstract _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

Abstract createPlayer

Abstract findPlayers

requestDestroy

  • requestDestroy(asset: Asset): void
  • Parameters

    Returns void

Abstract stopAll

  • stopAll(): void
  • Returns void

Generated using TypeDoc