rename optionsoverlay

This commit is contained in:
yugecin 2016-12-10 22:36:38 +01:00
parent f9e33a60ae
commit e8877d762d
2 changed files with 4 additions and 5 deletions

View File

@ -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();
}

View File

@ -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<>();
}