Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sound

Handles and plays the sounds

Hierarchy

  • Sound

Index

Properties

Static Private atmoBeat

atmoBeat: number = 1

Static atmoDelay

atmoDelay: number = 0

Static Private sounds

sounds: Sounds

Methods

Static breakAsteroid

  • breakAsteroid(_size: number): void
  • Parameters

    • _size: number

    Returns void

Static init

  • init(): void
  • Returns void

Static play

  • play(_id: string): void
  • Parameters

    • _id: string

    Returns void

Static playAtmo

  • playAtmo(_delay?: number): void
  • Parameters

    • Default value _delay: number = Sound.atmoDelay

    Returns void

Generated using TypeDoc