mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Create Slider.StackedPositionAt method
This commit is contained in:
@ -23,6 +23,7 @@ namespace osu.Game.Rulesets.Osu.Objects
|
||||
public double EndTime => StartTime + this.SpanCount() * Curve.Distance / Velocity;
|
||||
public double Duration => EndTime - StartTime;
|
||||
|
||||
public Vector2 StackedPositionAt(double t) => this.PositionAt(t) + this.StackOffset;
|
||||
public override Vector2 EndPosition => this.PositionAt(1);
|
||||
|
||||
public SliderCurve Curve { get; } = new SliderCurve();
|
||||
|
Reference in New Issue
Block a user