Remove unused velocity variables.

This commit is contained in:
Dean Herbert 2017-04-05 16:44:45 +09:00
parent 9ac18230cc
commit a4cc7fc6af
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -22,11 +22,6 @@ namespace osu.Game.Modes.Taiko.Objects
public double Duration { get; set; }
/// <summary>
/// Velocity of the drum roll in positional length units per millisecond.
/// </summary>
public double Velocity { get; protected set; } = 5;
/// <summary>
/// Numer of ticks per beat length.
/// </summary>
@ -64,9 +59,6 @@ namespace osu.Game.Modes.Taiko.Objects
{
base.ApplyDefaults(timing, difficulty);
double speedAdjutedBeatLength = timing.SpeedMultiplierAt(StartTime) * timing.BeatLengthAt(StartTime);
Velocity = base_distance * difficulty.SliderMultiplier / speedAdjutedBeatLength;
tickSpacing = timing.BeatLengthAt(StartTime) / TickRate;
RequiredGoodHits = TotalTicks * Math.Min(0.15, 0.05 + 0.10 / 6 * difficulty.OverallDifficulty);