Give velocity a sane default value.

This commit is contained in:
smoogipooo 2017-05-29 12:19:51 +09:00
parent 231b1ae610
commit c137ee822c
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ internal abstract class ConvertSlider : HitObject, IHasCurve
public double EndTime => StartTime + RepeatCount * Distance / Velocity; public double EndTime => StartTime + RepeatCount * Distance / Velocity;
public double Duration => EndTime - StartTime; public double Duration => EndTime - StartTime;
public double Velocity; public double Velocity = 1;
public Vector2 PositionAt(double progress) public Vector2 PositionAt(double progress)
{ {