option for rgb objs
This commit is contained in:
parent
0d77d7f56a
commit
46e2b7069f
|
@ -666,6 +666,20 @@ public class Options {
|
|||
}
|
||||
},
|
||||
|
||||
DANCE_RGB_OBJECTS ("Use rgb objects", "RGBObj", "Give each object a new color", false) {
|
||||
@Override
|
||||
public void click(GameContainer container) {
|
||||
bool = !bool;
|
||||
Dancer.rgbobj = bool;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void read(String s) {
|
||||
super.read(s);
|
||||
Dancer.rgbobj = bool;
|
||||
}
|
||||
},
|
||||
|
||||
PIPPI_ENABLE ("Pippi", "Pippi", "Move in circles like dancing pippi (osu! april fools joke 2016)", false) {
|
||||
// TODO
|
||||
},
|
||||
|
|
|
@ -89,7 +89,9 @@ public class Circle extends GameObject {
|
|||
this.color = color;
|
||||
this.comboEnd = comboEnd;
|
||||
updatePosition();
|
||||
this.color = Utils.nextColor();
|
||||
if (Dancer.rgbobj) {
|
||||
this.color = Utils.nextColor();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -159,7 +159,9 @@ public class Slider extends GameObject {
|
|||
this.data = data;
|
||||
this.color = color;
|
||||
this.comboEnd = comboEnd;
|
||||
this.color = Utils.nextColor();
|
||||
if (Dancer.rgbobj) {
|
||||
this.color = Utils.nextColor();
|
||||
}
|
||||
updatePosition();
|
||||
|
||||
// slider time calculations
|
||||
|
|
|
@ -112,6 +112,7 @@ public class OptionsMenu extends BasicGameState {
|
|||
GameOption.DANCE_ONLY_CIRCLE_STACKS,
|
||||
GameOption.DANCE_MIRROR,
|
||||
GameOption.DANCE_DRAW_APPROACH,
|
||||
GameOption.DANCE_RGB_OBJECTS,
|
||||
}),
|
||||
PIPPI ("Pippi", new GameOption[] {
|
||||
GameOption.PIPPI_ENABLE,
|
||||
|
|
|
@ -52,6 +52,7 @@ public class Dancer {
|
|||
|
||||
public static boolean mirror; // this should really get its own place somewhere...
|
||||
public static boolean drawApproach; // this should really get its own place somewhere...
|
||||
public static boolean rgbobj; // this should really get its own place somewhere...
|
||||
|
||||
private int dir;
|
||||
private GameObject p;
|
||||
|
|
Loading…
Reference in New Issue
Block a user