Skip to content

Commit 98b51ce

Browse files
added WebAudioSound class
1 parent ced5404 commit 98b51ce

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

v3/src/sound/WebAudioSound.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
var Class = require('../utils/Class');
2+
var BaseSound = require('./BaseSound');
3+
// Phaser.Sound.WebAudioSound
4+
var WebAudioSound = new Class({
5+
Extends: BaseSound,
6+
initialize: function WebAudioSound(manager, key, config) {
7+
// TODO update config duration
8+
BaseSound.call(this, manager, key, config);
9+
}
10+
});
11+
module.exports = WebAudioSound;

0 commit comments

Comments
 (0)