Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SoundEffect

Index

Constructors

  • new SoundEffect(assetPath: string, loop: boolean): SoundEffect

Properties

_assetPath: string
_player: undefined | HTMLAudioElement

Accessors

  • get assetPath(): string
  • get loop(): boolean
  • set loop(value: boolean): void

Methods

  • destroy(): void
  • pause(): void
  • play(): void
  • stop(): void

Generated using TypeDoc