mirror of
https://github.com/osukey/osukey.git
synced 2025-07-22 19:00:05 +09:00
Make Velocity and TickDistance private set
This commit is contained in:
@ -92,8 +92,8 @@ namespace osu.Game.Rulesets.Osu.Objects
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public double SpanDuration => Duration / this.SpanCount();
|
public double SpanDuration => Duration / this.SpanCount();
|
||||||
|
|
||||||
public double Velocity;
|
public double Velocity { get; private set; }
|
||||||
public double TickDistance;
|
public double TickDistance { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An extra multiplier that affects the number of ticks generated by this <see cref="Slider"/>.
|
/// An extra multiplier that affects the number of ticks generated by this <see cref="Slider"/>.
|
||||||
|
@ -49,9 +49,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
Vector2.Zero,
|
Vector2.Zero,
|
||||||
new Vector2(216, 0),
|
new Vector2(216, 0),
|
||||||
},
|
},
|
||||||
Distance = 400,
|
Distance = 216,
|
||||||
Velocity = 1,
|
|
||||||
TickDistance = 100,
|
|
||||||
Scale = 0.5f,
|
Scale = 0.5f,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user