mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2025-12-09 14:19:24 +00:00
Basic sounds
This commit is contained in:
@@ -18,15 +18,15 @@ import { Pauser } from "./Pauser";
|
||||
import { TestValues } from "./TestGameRunner";
|
||||
import { GameUI } from "./UI/GameUI";
|
||||
import { EnemyManager } from "./Unit/Enemy/EnemyManager";
|
||||
import { EnemyProjectileLauncher } from "./Unit/Enemy/ProjectileLauncher.cs/EnemyProjectileLauncher";
|
||||
import { MetaUpgrades } from "./Unit/MetaUpgrades/MetaUpgrades";
|
||||
import { Player, PlayerData } from "./Unit/Player/Player";
|
||||
import { HaloProjectileLauncher } from "./Unit/Player/ProjectileLauncher/HaloProjectileLauncher";
|
||||
import { ProjectileLauncher } from "./Unit/Player/ProjectileLauncher/ProjectileLauncher";
|
||||
import { ProjectileData } from "./Unit/Player/ProjectileLauncher/ProjectileData";
|
||||
import { ProjectileLauncher } from "./Unit/Player/ProjectileLauncher/ProjectileLauncher";
|
||||
import { WaveProjectileLauncher } from "./Unit/Player/ProjectileLauncher/WaveProjectileLauncher";
|
||||
import { Upgrader } from "./Upgrades/Upgrader";
|
||||
import { MetaUpgradeType } from "./Upgrades/UpgradeType";
|
||||
import { EnemyProjectileLauncher } from "./Unit/Enemy/ProjectileLauncher.cs/EnemyProjectileLauncher";
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@@ -144,7 +144,7 @@ export class Game extends Component {
|
||||
this.player.Level.addXp(testValues.startXP);
|
||||
}
|
||||
|
||||
this.gameAudioAdapter.init(this.enemyManager);
|
||||
this.gameAudioAdapter.init(this.player, this.enemyManager, this.itemManager);
|
||||
this.gamePauser.resume();
|
||||
|
||||
while (!this.gameResult.hasExitManually && this.player.Health.IsAlive) await delay(100);
|
||||
|
||||
Reference in New Issue
Block a user