From d49a945e2409bfdaf5d3242b4500b5923a3c4367 Mon Sep 17 00:00:00 2001 From: MiniSoda17 Date: Tue, 19 Sep 2023 21:38:26 +0700 Subject: [PATCH] Changed code for demoing lava planet mobs --- .../src/main/com/csse3200/game/areas/ForestGameArea.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/core/src/main/com/csse3200/game/areas/ForestGameArea.java b/source/core/src/main/com/csse3200/game/areas/ForestGameArea.java index 2e01f8254..89f54c2e8 100644 --- a/source/core/src/main/com/csse3200/game/areas/ForestGameArea.java +++ b/source/core/src/main/com/csse3200/game/areas/ForestGameArea.java @@ -232,7 +232,7 @@ public void create() { // Set up infrastructure for end game tracking player = spawnPlayer(); - player.getEvents().addListener("spawnWave", this::spawnFireWorm); + player.getEvents().addListener("spawnWave", this::spawnWave); //playMusic(); @@ -248,10 +248,12 @@ public void create() { // spawnXenoGrunts(); // spawnWeaponTower(); - spawnDemonBoss(); +// spawnDragonKnight(); +// spawnFireWorm(); +spawnDemonBoss(); //mobBoss1 = spawnMobBoss1(); -// startWaveTimer(); + // startWaveTimer(); //// spawnIncome(); // spawnScrap(); // spawnTNTTower();