add opposite combo color as override option

This commit is contained in:
yugecin
2016-09-30 21:32:24 +02:00
parent 3d64a3f866
commit 2f5f2a610d
4 changed files with 23 additions and 18 deletions

View File

@@ -78,17 +78,17 @@ public class Circle extends GameObject {
* @param hitObject the associated HitObject
* @param game the associated Game object
* @param data the associated GameData object
* @param color the color of this circle
* @param comboColorIndex index of the combo color of this circle
* @param comboEnd true if this is the last hit object in the combo
*/
public Circle(HitObject hitObject, Game game, GameData data, Color color, boolean comboEnd) {
public Circle(HitObject hitObject, Game game, GameData data, int comboColorIndex, boolean comboEnd) {
this.hitObject = hitObject;
this.game = game;
this.data = data;
this.comboEnd = comboEnd;
updatePosition();
this.color = Dancer.colorOverride.getColor(color);
this.mirrorColor = Dancer.colorMirrorOverride.getColor(color);
color = Dancer.colorOverride.getColor(comboColorIndex);
mirrorColor = Dancer.colorMirrorOverride.getColor(comboColorIndex);
}
@Override