Skip to content

Commit

Permalink
fixed code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamad11Dab committed Oct 17, 2023
1 parent d63461b commit f4d7372
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit f4d7372

Please sign in to comment.