phaser/v3/src/sound/html5/HTML5AudioSound.js

12 lines
377 B
JavaScript
Raw Normal View History

var Class = require('../../utils/Class');
var BaseSound = require('../BaseSound');
var HTML5AudioSound = new Class({
Extends: BaseSound,
initialize: function HTML5AudioSound(manager, key, config) {
if (config === void 0) { config = {}; }
2018-01-08 18:54:15 +00:00
this.audio = null;
BaseSound.call(this, manager, key, config);
}
});
module.exports = HTML5AudioSound;