phaser/src/sound/noaudio/NoAudioSoundManager.js

14 lines
390 B
JavaScript
Raw Normal View History

var Class = require('../../utils/Class');
var EventEmitter = require('eventemitter3');
var NoAudioSoundManager = new Class({
Extends: EventEmitter,
initialize: function NoAudioSoundManager(game) {
EventEmitter.call(this);
this.game = game;
this.sounds = [];
2018-01-20 19:00:21 +00:00
this.mute = false;
2018-01-20 19:00:36 +00:00
this.volume = 1;
}
});
module.exports = NoAudioSoundManager;