UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

23 lines (21 loc) 773 B
/** * @author Richard Davey <rich@phaser.io> * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Pause All Sounds Event. * * This event is dispatched by the Base Sound Manager, or more typically, an instance of the Web Audio Sound Manager, * or the HTML5 Audio Manager. It is dispatched when the `pauseAll` method is invoked and after all current Sounds * have been paused. * * Listen to it from a Scene using: `this.sound.on('pauseall', listener)`. * * @event Phaser.Sound.Events#PAUSE_ALL * @type {string} * @since 3.0.0 * * @param {Phaser.Sound.BaseSoundManager} soundManager - A reference to the sound manager that emitted the event. */ module.exports = 'pauseall';