phaser/src/sound/noaudio/NoAudioSound.js

13 lines
369 B
JavaScript
Raw Normal View History

var Class = require('../../utils/Class');
var EventEmitter = require('eventemitter3');
var NoAudioSound = new Class({
Extends: EventEmitter,
initialize: function NoAudioSound(manager, key, config) {
EventEmitter.call(this);
this.manager = manager;
this.key = key;
this.isPlaying = false;
}
});
module.exports = NoAudioSound;