diff --git a/source/core/src/main/com/csse3200/game/components/tasks/human/HumanWanderTask.java b/source/core/src/main/com/csse3200/game/components/tasks/human/HumanWanderTask.java index b801379ca..0b66a9493 100644 --- a/source/core/src/main/com/csse3200/game/components/tasks/human/HumanWanderTask.java +++ b/source/core/src/main/com/csse3200/game/components/tasks/human/HumanWanderTask.java @@ -9,6 +9,7 @@ import com.csse3200.game.physics.components.ColliderComponent; import com.csse3200.game.physics.components.HitboxComponent; import com.csse3200.game.rendering.AnimationRenderComponent; +import com.csse3200.game.services.ServiceLocator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -94,7 +95,7 @@ public void update() { // Check if engineer has finished dying animation else if (isDead && owner.getEntity().getComponent(AnimationRenderComponent.class).isFinished()) { owner.getEntity().setFlagForDelete(true); - // TODO: make the appropriate calls to decrement the human count. + ServiceLocator.getGameEndService().updateEngineerCount(); } // otherwise doing engineer things since engineer is alive diff --git a/source/wiki/team-2/EngineerFactory Sequence Diagram.png b/source/wiki/team-2/EngineerFactory Sequence Diagram.png deleted file mode 100644 index b8ec04420..000000000 Binary files a/source/wiki/team-2/EngineerFactory Sequence Diagram.png and /dev/null differ diff --git a/source/wiki/team-2/EngineerFactory Sequence Diagram.svg b/source/wiki/team-2/EngineerFactory Sequence Diagram.svg deleted file mode 100644 index 42ee4e04b..000000000 --- a/source/wiki/team-2/EngineerFactory Sequence Diagram.svg +++ /dev/null @@ -1,210 +0,0 @@ - - -