rename optionsoverlay
This commit is contained in:
@@ -29,7 +29,7 @@ import org.newdawn.slick.state.StateBasedGame;
|
|||||||
import java.util.Observable;
|
import java.util.Observable;
|
||||||
import java.util.Observer;
|
import java.util.Observer;
|
||||||
|
|
||||||
public class OptionsOverlay {
|
public class OptionsOverlayOld {
|
||||||
|
|
||||||
private int width;
|
private int width;
|
||||||
private int height;
|
private int height;
|
||||||
@@ -78,7 +78,7 @@ public class OptionsOverlay {
|
|||||||
private Options.GameOption selectedOption;
|
private Options.GameOption selectedOption;
|
||||||
private final SBOverlay overlay;
|
private final SBOverlay overlay;
|
||||||
|
|
||||||
public OptionsOverlay(SBOverlay overlay) {
|
public OptionsOverlayOld(SBOverlay overlay) {
|
||||||
this.overlay = overlay;
|
this.overlay = overlay;
|
||||||
list = new ItemList();
|
list = new ItemList();
|
||||||
}
|
}
|
||||||
@@ -29,7 +29,6 @@ import org.newdawn.slick.Input;
|
|||||||
import org.newdawn.slick.state.StateBasedGame;
|
import org.newdawn.slick.state.StateBasedGame;
|
||||||
import yugecin.opsudance.ObjectColorOverrides;
|
import yugecin.opsudance.ObjectColorOverrides;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
@@ -52,11 +51,11 @@ public class SBOverlay {
|
|||||||
private int index;
|
private int index;
|
||||||
|
|
||||||
private final Game game;
|
private final Game game;
|
||||||
private final OptionsOverlay options;
|
private final OptionsOverlayOld options;
|
||||||
|
|
||||||
public SBOverlay(Game game) {
|
public SBOverlay(Game game) {
|
||||||
this.game = game;
|
this.game = game;
|
||||||
options = new OptionsOverlay(this);
|
options = new OptionsOverlayOld(this);
|
||||||
initialOptions = new HashMap<>();
|
initialOptions = new HashMap<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user