phaser/v3/src/sound/SoundEvent.js

20 lines
314 B
JavaScript
Raw Normal View History

2017-12-22 14:46:48 +00:00
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;