From 7ae87490f5ffff1efeccff43876583144cbb9f16 Mon Sep 17 00:00:00 2001 From: MiniSoda17 Date: Sat, 9 Sep 2023 17:00:42 +1000 Subject: [PATCH] Commenting out the test projectile spawninging in ForestGameArea --- .../core/src/main/com/csse3200/game/areas/ForestGameArea.java | 4 ++-- 1 file changed, 2 insertions(+), 2 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 a16d7d231..b926b8715 100644 --- a/source/core/src/main/com/csse3200/game/areas/ForestGameArea.java +++ b/source/core/src/main/com/csse3200/game/areas/ForestGameArea.java @@ -162,7 +162,7 @@ public void create() { // Types of projectile spawnEffectProjectile(new Vector2(0, 10), PhysicsLayer.HUMANS, towardsMobs, new Vector2(2f, 2f), ProjectileEffects.BURN, true); - spawnMobBall(new Vector2(0, 8), PhysicsLayer.NPC, towardsMobs, new Vector2(2f, 2f)); + // spawnProjectileTest(new Vector2(0, 8), PhysicsLayer.NPC, towardsMobs, new Vector2(2f, 2f)); spawnXenoGrunts(); @@ -300,7 +300,7 @@ private void spawnProjectile(Vector2 position, short targetLayer, int direction, * @param speed The speed of the projectiles. * */ - private void spawnMobBall(Vector2 position, short targetLayer, int direction, Vector2 speed) { + private void spawnProjectileTest(Vector2 position, short targetLayer, int direction, Vector2 speed) { Entity Projectile = ProjectileFactory.createEngineerBullet(targetLayer, new Vector2(direction, position.y), speed); Projectile.setPosition(position); spawnEntity(Projectile);