mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 11:33:28 +00:00
19 lines
314 B
JavaScript
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;
|