mirror of
https://github.com/osukey/osukey.git
synced 2025-07-04 01:40:02 +09:00
Add test case for bar lines.
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
using osu.Game.Beatmaps.Timing;
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Game.Beatmaps.Timing;
|
||||
using osu.Game.Database;
|
||||
|
||||
namespace osu.Game.Modes.Taiko.Objects
|
||||
@ -15,11 +18,6 @@ namespace osu.Game.Modes.Taiko.Objects
|
||||
/// </summary>
|
||||
public double PreEmpt;
|
||||
|
||||
/// <summary>
|
||||
/// Whether this is a major bar line (affects display).
|
||||
/// </summary>
|
||||
public bool IsMajor;
|
||||
|
||||
public void ApplyDefaults(TimingInfo timing, BeatmapDifficulty difficulty)
|
||||
{
|
||||
PreEmpt = 600 / (timing.SliderVelocityAt(StartTime) * difficulty.SliderMultiplier) * 1000;
|
||||
|
Reference in New Issue
Block a user