From b6a7afe2c4e365869a3fcd181907d1cfb9ad4903 Mon Sep 17 00:00:00 2001 From: JSLLW Date: Mon, 16 Oct 2023 05:44:31 +1000 Subject: [PATCH] test: Resolved failing tests in EnemyTest. --- .../com/csse3200/game/entities/configs/BaseEnemyConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/src/main/com/csse3200/game/entities/configs/BaseEnemyConfig.java b/source/core/src/main/com/csse3200/game/entities/configs/BaseEnemyConfig.java index 3b13b70d8..e1fdf0aeb 100644 --- a/source/core/src/main/com/csse3200/game/entities/configs/BaseEnemyConfig.java +++ b/source/core/src/main/com/csse3200/game/entities/configs/BaseEnemyConfig.java @@ -25,7 +25,7 @@ */ public class BaseEnemyConfig extends BaseEntityConfig { - private int idCounter = 0; + private static int idCounter = 0; public final int speed;