Added SoundEvent class

This commit is contained in:
Pavle Goloskokovic 2017-12-22 15:46:48 +01:00
parent 97e648bea6
commit 0ac51b879d

View file

@ -0,0 +1,19 @@
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;