Home Reference Source
import AudioManager from 'potassium-es/src/AudioManager.js'
public class | source

AudioManager

AudioManager manages audio for all Components.

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

playSound(name: *)

public

setSound(name: *, url: *)

Public Constructors

public constructor() source

Public Methods

public playSound(name: *) source

Params:

NameTypeAttributeDescription
name *

public setSound(name: *, url: *) source

Params:

NameTypeAttributeDescription
name *
url *