mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2025-12-09 14:19:24 +00:00
Added sounds
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user