diff --git a/source/core/src/main/com/csse3200/game/components/maingame/UIElementsDisplay.java b/source/core/src/main/com/csse3200/game/components/maingame/UIElementsDisplay.java index b1813048..c3e9d24f 100644 --- a/source/core/src/main/com/csse3200/game/components/maingame/UIElementsDisplay.java +++ b/source/core/src/main/com/csse3200/game/components/maingame/UIElementsDisplay.java @@ -21,7 +21,7 @@ public class UIElementsDisplay extends UIComponent { private final Table buttonTable = new Table(); private TextButton remainingMobsButton; private TextButton timerButton; - long time = 0; + private long time = 0; @Override public void create() { @@ -105,8 +105,6 @@ public void updateTimerButton() { ServiceLocator.getMapService().shakeCameraMap(); ServiceLocator.getMapService().shakeCameraGrid(); } -// ServiceLocator.getMapService().shakeCameraMap(); -// ServiceLocator.getMapService().shakeCameraGrid(); remainingMobsButton.setDisabled(true); timerButton.addAction(new SequenceAction(Actions.fadeOut(1f), Actions.removeActor())); stage.act();