use shifthue

This commit is contained in:
yugecin
2016-09-30 09:12:54 +02:00
parent e126edbff7
commit 0c16802523
3 changed files with 5 additions and 4 deletions

View File

@@ -97,7 +97,8 @@ public class Circle extends GameObject {
public void draw(Graphics g, int trackPosition, boolean mirror) {
Color orig = color;
if (mirror) {
color = Utils.currentShiftColor();
//color = Utils.currentShiftColor();
color = Utils.shiftHue(color, 180f);
}
int timeDiff = hitObject.getTime() - trackPosition;

View File

@@ -184,7 +184,8 @@ public class Slider extends GameObject {
public void draw(Graphics g, int trackPosition, boolean mirror) {
Color orig = color;
if (mirror) {
color = Utils.currentShiftColor();
//color = Utils.currentShiftColor();
color = Utils.shiftHue(color, 180f);
}
int timeDiff = hitObject.getTime() - trackPosition;