Skip to content

Commit dd17f60

Browse files
moved sounds array declaration above other properties
1 parent 372983a commit dd17f60

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

v3/src/sound/BaseSoundManager.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ var BaseSoundManager = new Class({
1010
* @property {Phaser.Game} game
1111
*/
1212
this.game = game;
13+
/**
14+
* An array containing all added sounds.
15+
*
16+
* @property {Array} sounds
17+
*/
18+
this.sounds = [];
1319
/**
1420
* Global mute setting.
1521
*
@@ -45,7 +51,6 @@ var BaseSoundManager = new Class({
4551
* @property {boolean} muteOnPause
4652
*/
4753
this.muteOnPause = true;
48-
this.sounds = [];
4954
/**
5055
* [description]
5156
*

0 commit comments

Comments
 (0)