18 lines
524 B
JavaScript
18 lines
524 B
JavaScript
|
|
"use strict";
|
||
|
|
|
||
|
|
exports.__esModule = true;
|
||
|
|
/**
|
||
|
|
* @description Event emitter for all sound events. This emits a single
|
||
|
|
* `play` event which contains the alias, loop and MovieClip which is playing
|
||
|
|
* the sound.
|
||
|
|
* @name PIXI.animate.sound
|
||
|
|
* @type {EventEmitter}
|
||
|
|
* @example
|
||
|
|
*
|
||
|
|
* PIXI.animate.sound.on('play', (alias, loop, context) => {
|
||
|
|
* // custom handle sounds being played
|
||
|
|
* // where 'alias' is the ID in stage assets
|
||
|
|
* });
|
||
|
|
*/
|
||
|
|
exports.default = new PIXI.utils.EventEmitter();
|
||
|
|
//# sourceMappingURL=sound.js.map
|