From ac0fcfde2c8343127cca2215d40b2aa57d275448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Fri, 14 May 2021 10:45:54 +0200 Subject: [PATCH] fix: useless imports --- core/src/sagittarius/SagittariusGame.java | 1 - core/src/sagittarius/model/Bow.java | 1 - core/src/sagittarius/view/ResumeScreen.java | 2 -- 3 files changed, 4 deletions(-) diff --git a/core/src/sagittarius/SagittariusGame.java b/core/src/sagittarius/SagittariusGame.java index 175ca40..cd7b1f5 100644 --- a/core/src/sagittarius/SagittariusGame.java +++ b/core/src/sagittarius/SagittariusGame.java @@ -1,7 +1,6 @@ package sagittarius; import com.badlogic.gdx.Game; -import com.badlogic.gdx.Gdx; import com.kotcrab.vis.ui.VisUI; import com.badlogic.gdx.audio.Music; import sagittarius.view.*; diff --git a/core/src/sagittarius/model/Bow.java b/core/src/sagittarius/model/Bow.java index e717617..f358b8e 100644 --- a/core/src/sagittarius/model/Bow.java +++ b/core/src/sagittarius/model/Bow.java @@ -8,7 +8,6 @@ import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.audio.Sound; -import com.badlogic.gdx.files.*; import sagittarius.view.GameScreen; import sagittarius.SagittariusGame; diff --git a/core/src/sagittarius/view/ResumeScreen.java b/core/src/sagittarius/view/ResumeScreen.java index 8cb0606..5c93f27 100644 --- a/core/src/sagittarius/view/ResumeScreen.java +++ b/core/src/sagittarius/view/ResumeScreen.java @@ -3,7 +3,6 @@ package sagittarius.view; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.utils.ActorGestureListener; -import com.badlogic.gdx.utils.Align; import com.kotcrab.vis.ui.VisUI; import com.kotcrab.vis.ui.widget.VisCheckBox; import com.kotcrab.vis.ui.widget.VisTable; @@ -64,7 +63,6 @@ public class ResumeScreen extends BaseScreen { if (disableMusic.isChecked() && SagittariusGame.music.isPlaying()){ SagittariusGame.music.stop(); } - else if (!disableMusic.isChecked() && ! SagittariusGame.music.isPlaying()){ SagittariusGame.music.play(); }