mirror of
https://github.com/ppy/osu
synced 2025-01-09 23:59:44 +00:00
Remove unused velocity variables.
This commit is contained in:
parent
9ac18230cc
commit
a4cc7fc6af
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user