phaser/v3/src/sound/SoundEvent.js
2017-12-22 15:46:48 +01:00

19 lines
314 B
JavaScript

var Class = require('../utils/Class');
var Event = require('../events/Event');
var SoundEvent = new Class({
Extends: Event,
initialize:
function SoundEvent (sound, type)
{
Event.call(this, type);
this.sound = sound;
}
});
module.exports = SoundEvent;