scratch-vm/audioWorker.js
2016-09-07 16:55:38 -04:00

13 lines
No EOL
211 B
JavaScript

function AudioWorker () {
}
AudioWorker.prototype.playSound = function (soundNum) {
self.postMessage({
type: 'audio',
method: 'playSound',
value: soundNum
});
};
module.exports = AudioWorker;