Added sounds

This commit is contained in:
Martin
2022-12-22 12:08:00 +01:00
parent bccaf323e1
commit 090a89ae08
17 changed files with 116 additions and 20 deletions

View File

@@ -144,7 +144,14 @@ export class Game extends Component {
this.player.Level.addXp(testValues.startXP);
}
this.gameAudioAdapter.init(this.player, this.enemyManager, this.itemManager);
this.gameAudioAdapter.init(
this.player,
this.enemyManager,
this.itemManager,
this.horizontalProjectileLauncher,
this.diagonalProjectileLauncher,
this.haloProjectileLauncher
);
this.gamePauser.resume();
while (!this.gameResult.hasExitManually && this.player.Health.IsAlive) await delay(100);