Implement circleslowsliders

This commit is contained in:
yugecin
2016-10-01 14:46:39 +02:00
parent 54fa335492
commit 9d6c413eb7
4 changed files with 19 additions and 7 deletions

View File

@@ -115,6 +115,8 @@ public class Slider extends GameObject {
public static double bpm;
public float pixelLength;
/**
* Initializes the Slider data type with images and dimensions.
* @param container the game container
@@ -164,6 +166,8 @@ public class Slider extends GameObject {
mirrorColor = Dancer.colorMirrorOverride.getColor(comboColorIndex);
updatePosition();
this.pixelLength = hitObject.getPixelLength();
// slider time calculations
this.sliderTime = hitObject.getSliderTime(sliderMultiplier, game.getBeatLength());
this.sliderTimeTotal = sliderTime * hitObject.getRepeatCount();

View File

@@ -113,6 +113,7 @@ public class OptionsMenu extends BasicGameState {
GameOption.DANCE_LAZY_SLIDERS,
GameOption.DANCE_CIRCLE_STREAMS,
GameOption.DANCE_ONLY_CIRCLE_STACKS,
GameOption.DANCE_CIRLCE_IN_SLOW_SLIDERS,
GameOption.DANCE_MIRROR,
}),
DANCEDISP ("Dance display", new GameOption[] {