Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAudio

Hierarchy

  • IAudio

Implemented by

Index

Properties

fadingIn

fadingIn: boolean

fadingOut

fadingOut: boolean

musicSpeed

musicSpeed: number

Methods

fadeIn

  • fadeIn(): void
  • Returns void

fadeOut

  • fadeOut(): void
  • Returns void

nextTrack

  • nextTrack(): void
  • Returns void

playMusic

  • playMusic(): void
  • Returns void

processEffects

  • processEffects(): void
  • Returns void

queueEffect

  • queueEffect(soundEffect: SfxType, x: number, y: number, z: number, delay?: number, speed?: number, noPosition?: boolean): void
  • Parameters

    • soundEffect: SfxType
    • x: number
    • y: number
    • z: number
    • Optional delay: number
    • Optional speed: number
    • Optional noPosition: boolean

    Returns void

updateMusicSpeed

  • updateMusicSpeed(speed: number): void
  • Parameters

    • speed: number

    Returns void

updatePosition

  • updatePosition(): void
  • Returns void

updateVolume

  • updateVolume(): void
  • Returns void

Generated using TypeDoc