Skip to content

Commit a157dd2

Browse files
Added event class for sound value change
1 parent 4210898 commit a157dd2

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

v3/src/sound/SoundValueEvent.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
var Class = require('../utils/Class');
2+
var SoundEvent = require('./SoundEvent');
3+
4+
var SoundValueEvent = new Class({
5+
6+
Extends: SoundEvent,
7+
8+
initialize:
9+
10+
function SoundValueEvent (sound, type, value)
11+
{
12+
SoundEvent.call(this, sound, type);
13+
14+
this.value = value;
15+
}
16+
17+
});
18+
19+
module.exports = SoundValueEvent;

0 commit comments

Comments
 (0)