Adjust game volume
This commit is contained in:
1 parent
c2cb433409
commit
96a15ccb0d
13 files changed
+62
-49
No files matched your search
+2
-2
@@ -129,11 +129,11 @@ export default class UI extends Phaser.GameObjects.Container {
|
||||
}
|
||||
|
||||
playSelect(): void {
|
||||
this.scene.sound.play('select');
|
||||
(this.scene as BattleScene).playSound('select');
|
||||
}
|
||||
|
||||
playError(): void {
|
||||
this.scene.sound.play('error');
|
||||
(this.scene as BattleScene).playSound('error');
|
||||
}
|
||||
|
||||
fadeOut(duration: integer): Promise<void> {
|
||||
|
||||
Reference in new issue
Block a user