2017-11-09 13:37:41 +00:00
|
|
|
var Class = require('../utils/Class');
|
|
|
|
|
2017-11-10 12:05:29 +00:00
|
|
|
// Phaser.Loader.BaseSoundManager
|
2017-11-09 13:37:41 +00:00
|
|
|
|
2017-11-10 12:05:29 +00:00
|
|
|
var BaseSoundManager = new Class({
|
2017-11-09 13:37:41 +00:00
|
|
|
|
2017-11-10 11:55:32 +00:00
|
|
|
// TODO define sound manager interface
|
2017-11-09 13:37:41 +00:00
|
|
|
|
2017-11-10 18:05:26 +00:00
|
|
|
initialize:
|
2017-11-09 13:37:41 +00:00
|
|
|
|
2017-11-10 18:05:26 +00:00
|
|
|
function BaseSoundManager (game)
|
2017-11-09 13:37:41 +00:00
|
|
|
{
|
2017-11-10 18:05:26 +00:00
|
|
|
/**
|
|
|
|
* @property {Phaser.Game} game - Local reference to game.
|
|
|
|
*/
|
|
|
|
this.game = game;
|
2017-11-09 13:37:41 +00:00
|
|
|
}
|
|
|
|
|
2017-11-10 18:05:26 +00:00
|
|
|
});
|
2017-11-09 13:37:41 +00:00
|
|
|
|
2017-11-10 12:05:29 +00:00
|
|
|
module.exports = BaseSoundManager;
|