1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 02:43:19 +08:00

Make Velocity and TickDistance private set

This commit is contained in:
smoogipoo 2018-10-15 12:31:52 +09:00
parent 26b91c96fb
commit 2f943e77aa
2 changed files with 3 additions and 5 deletions

View File

@ -92,8 +92,8 @@ namespace osu.Game.Rulesets.Osu.Objects
/// </summary>
public double SpanDuration => Duration / this.SpanCount();
public double Velocity;
public double TickDistance;
public double Velocity { get; private set; }
public double TickDistance { get; private set; }
/// <summary>
/// An extra multiplier that affects the number of ticks generated by this <see cref="Slider"/>.

View File

@ -49,9 +49,7 @@ namespace osu.Game.Tests.Visual
Vector2.Zero,
new Vector2(216, 0),
},
Distance = 400,
Velocity = 1,
TickDistance = 100,
Distance = 216,
Scale = 0.5f,
}
},