Implement circleslowsliders
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user