diff --git a/src/itdelatrisu/opsu/states/OptionsMenu.java b/src/itdelatrisu/opsu/states/OptionsMenu.java index a1d8d6de..f4f96020 100644 --- a/src/itdelatrisu/opsu/states/OptionsMenu.java +++ b/src/itdelatrisu/opsu/states/OptionsMenu.java @@ -149,10 +149,8 @@ public class OptionsMenu extends BasicGameState implements OptionsOverlay.Parent }) }; - private GameContainer container; private StateBasedGame game; private Input input; - private Graphics g; private final int state; private OptionsOverlay optionsOverlay; @@ -164,14 +162,8 @@ public class OptionsMenu extends BasicGameState implements OptionsOverlay.Parent @Override public void init(GameContainer container, StateBasedGame game) throws SlickException { - - this.container = container; this.game = game; this.input = container.getInput(); - this.g = container.getGraphics(); - - int width = container.getWidth(); - int height = container.getHeight(); optionsOverlay = new OptionsOverlay(this, options, 5, container); } diff --git a/src/yugecin/opsudance/ui/OptionsOverlay.java b/src/yugecin/opsudance/ui/OptionsOverlay.java index 7f10d3fa..74e4d3e5 100644 --- a/src/yugecin/opsudance/ui/OptionsOverlay.java +++ b/src/yugecin/opsudance/ui/OptionsOverlay.java @@ -29,7 +29,6 @@ import itdelatrisu.opsu.ui.MenuButton; import itdelatrisu.opsu.ui.UI; import org.newdawn.slick.*; -@SuppressWarnings({"unused", "SuspiciousNameCombination"}) public class OptionsOverlay { private Parent parent; @@ -40,7 +39,6 @@ public class OptionsOverlay { private final Image checkOffImg; private OptionTab[] tabs; - private OptionTab hoverTab; private int selectedTab; private GameOption hoverOption; private GameOption selectedOption; @@ -194,7 +192,6 @@ public class OptionsOverlay { } private void renderOpenList(Graphics g) { - // list g.setColor(Colors.BLACK_ALPHA_85); g.fillRect(listStartX, listStartY, listWidth, listHeight); if (listHoverIndex != -1) {