mirror of
https://github.com/photonstorm/phaser
synced 2025-03-01 13:57:26 +00:00
Added pauseAll method that does nothing
This commit is contained in:
parent
50fefeef2e
commit
534a7a34cd
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,7 @@ var Class = require('../../utils/Class');
|
|||
var EventEmitter = require('eventemitter3');
|
||||
var NoAudioSound = require('./NoAudioSound');
|
||||
var BaseSoundManager = require('../BaseSoundManager');
|
||||
var NOOP = require('../../utils/NOOP');
|
||||
var NoAudioSoundManager = new Class({
|
||||
Extends: EventEmitter,
|
||||
initialize: function NoAudioSoundManager(game) {
|
||||
|
@ -37,6 +38,7 @@ var NoAudioSoundManager = new Class({
|
|||
},
|
||||
removeByKey: function (key) {
|
||||
return BaseSoundManager.prototype.removeByKey.call(this, key);
|
||||
}
|
||||
},
|
||||
pauseAll: NOOP
|
||||
});
|
||||
module.exports = NoAudioSoundManager;
|
||||
|
|
Loading…
Add table
Reference in a new issue