diff --git a/source/core/src/main/com/csse3200/game/components/tasks/bosstask/bossDeathTask.java b/source/core/src/main/com/csse3200/game/components/tasks/bosstask/bossDeathTask.java index da3382bb4..e483d2234 100644 --- a/source/core/src/main/com/csse3200/game/components/tasks/bosstask/bossDeathTask.java +++ b/source/core/src/main/com/csse3200/game/components/tasks/bosstask/bossDeathTask.java @@ -16,7 +16,7 @@ /** * Task that prints a message to the terminal whenever it is called. */ -public class bossDeathTask extends DefaultTask implements PriorityTask { +public class BossDeathTask extends DefaultTask implements PriorityTask { private static final int INTERVAL = 1; // time interval to scan for towers in private final int priority; @@ -31,7 +31,7 @@ public class bossDeathTask extends DefaultTask implements PriorityTask { /** * @param priority Task priority when shooting (0 when not chasing). */ - public bossDeathTask(int priority) { + public BossDeathTask(int priority) { this.priority = priority; physics = ServiceLocator.getPhysicsService().getPhysics(); diff --git a/source/core/src/main/com/csse3200/game/entities/factories/MobBossFactory.java b/source/core/src/main/com/csse3200/game/entities/factories/MobBossFactory.java index 855b28196..48d49cef0 100644 --- a/source/core/src/main/com/csse3200/game/entities/factories/MobBossFactory.java +++ b/source/core/src/main/com/csse3200/game/entities/factories/MobBossFactory.java @@ -10,7 +10,7 @@ import com.csse3200.game.components.tasks.bosstask.DemonBossTask; import com.csse3200.game.components.tasks.bosstask.FinalBossMovementTask; import com.csse3200.game.components.tasks.bosstask.RangeBossTask; -import com.csse3200.game.components.tasks.bosstask.bossDeathTask; +import com.csse3200.game.components.tasks.bosstask.BossDeathTask; import com.csse3200.game.entities.Entity; import com.csse3200.game.entities.configs.MobBossConfigs; import com.csse3200.game.entities.configs.NPCConfigs; @@ -77,7 +77,7 @@ public static Entity createMobBoss1(int numLane) { AITaskComponent aiTaskComponent1 = new AITaskComponent() .addTask(new FinalBossMovementTask(1f, numLane)) - .addTask(new bossDeathTask(1));; + .addTask(new BossDeathTask(1));; // Animation section AnimationRenderComponent animator1 = new AnimationRenderComponent(