Skip to content

Commit 2b0765f

Browse files
Added remove method that calls BaseSoundManager remove method
1 parent 5ba2c03 commit 2b0765f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/sound/noaudio/NoAudioSoundManager.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
var Class = require('../../utils/Class');
22
var EventEmitter = require('eventemitter3');
33
var NoAudioSound = require('./NoAudioSound');
4+
var BaseSoundManager = require('../BaseSoundManager');
45
var NoAudioSoundManager = new Class({
56
Extends: EventEmitter,
67
initialize: function NoAudioSoundManager(game) {
@@ -30,6 +31,9 @@ var NoAudioSoundManager = new Class({
3031
},
3132
playAudioSprite: function (key, spriteName, config) {
3233
return false;
34+
},
35+
remove: function (sound) {
36+
return BaseSoundManager.prototype.remove.call(this, sound);
3337
}
3438
});
3539
module.exports = NoAudioSoundManager;

0 commit comments

Comments
 (0)