From e8877d762dc8e7f102abda3d93ef854de1005ead Mon Sep 17 00:00:00 2001 From: yugecin Date: Sat, 10 Dec 2016 22:36:38 +0100 Subject: [PATCH] rename optionsoverlay --- .../ui/{OptionsOverlay.java => OptionsOverlayOld.java} | 4 ++-- src/yugecin/opsudance/ui/SBOverlay.java | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) rename src/yugecin/opsudance/ui/{OptionsOverlay.java => OptionsOverlayOld.java} (98%) diff --git a/src/yugecin/opsudance/ui/OptionsOverlay.java b/src/yugecin/opsudance/ui/OptionsOverlayOld.java similarity index 98% rename from src/yugecin/opsudance/ui/OptionsOverlay.java rename to src/yugecin/opsudance/ui/OptionsOverlayOld.java index e366da4d..9ffb4a5a 100644 --- a/src/yugecin/opsudance/ui/OptionsOverlay.java +++ b/src/yugecin/opsudance/ui/OptionsOverlayOld.java @@ -29,7 +29,7 @@ import org.newdawn.slick.state.StateBasedGame; import java.util.Observable; import java.util.Observer; -public class OptionsOverlay { +public class OptionsOverlayOld { private int width; private int height; @@ -78,7 +78,7 @@ public class OptionsOverlay { private Options.GameOption selectedOption; private final SBOverlay overlay; - public OptionsOverlay(SBOverlay overlay) { + public OptionsOverlayOld(SBOverlay overlay) { this.overlay = overlay; list = new ItemList(); } diff --git a/src/yugecin/opsudance/ui/SBOverlay.java b/src/yugecin/opsudance/ui/SBOverlay.java index 3abba07c..3b4ea368 100644 --- a/src/yugecin/opsudance/ui/SBOverlay.java +++ b/src/yugecin/opsudance/ui/SBOverlay.java @@ -29,7 +29,6 @@ import org.newdawn.slick.Input; import org.newdawn.slick.state.StateBasedGame; import yugecin.opsudance.ObjectColorOverrides; -import java.util.ArrayList; import java.util.HashMap; import java.util.Map; @@ -52,11 +51,11 @@ public class SBOverlay { private int index; private final Game game; - private final OptionsOverlay options; + private final OptionsOverlayOld options; public SBOverlay(Game game) { this.game = game; - options = new OptionsOverlay(this); + options = new OptionsOverlayOld(this); initialOptions = new HashMap<>(); }