mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Add better slider duration calculation using bpm and difficulty information.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Beatmaps.Samples;
|
||||
using OpenTK.Graphics;
|
||||
|
||||
@ -20,6 +21,8 @@ namespace osu.Game.Modes.Objects
|
||||
|
||||
public double Duration => EndTime - StartTime;
|
||||
|
||||
public Beatmap Beatmap;
|
||||
|
||||
public HitSampleInfo Sample;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user