phaser/src/sound/SoundValueEvent.js
2018-01-09 21:43:56 +00:00

19 lines
355 B
JavaScript

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