Skip to content

Commit 61899ca

Browse files
committed
Forgot to add music and vo. Added here
1 parent f39c2d5 commit 61899ca

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/game.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ export class Game
4040
// in a full game this should be handled gracefully.
4141
PIXI.loader.resources['bounce'].sound.volume = value;
4242
});
43+
testApp.state.musicVolume.subscribe(result =>
44+
{
45+
console.log('musicVolume: ', result);
46+
});
47+
testApp.state.voVolume.subscribe(result =>
48+
{
49+
console.log('voVolume: ', result);
50+
});
4351

4452
// add a extra state property for storying the current scene. Whenever the scene is changed, this class
4553
// will swap out the container attached to the stage

0 commit comments

Comments
 (0)