phaser-ce
Version:
Phaser CE (Community Edition) is a fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.
24 lines (19 loc) • 770 B
JavaScript
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* This is a stub for the Phaser SoundManager.
* It allows you to exclude the default Sound Manager from your build, without making Game crash.
*/
Phaser.SoundManager = function ()
{
this.muteOnPause = false;
};
Phaser.SoundManager.prototype.boot = function () {};
Phaser.SoundManager.prototype.update = function () {};
Phaser.SoundManager.prototype.destroy = function () {};
Phaser.SoundManager.prototype.setMute = function () {};
Phaser.SoundManager.prototype.unsetMute = function () {};
Phaser.SoundManager.prototype.constructor = Phaser.SoundManager;