Add better slider duration calculation using bpm and difficulty information.

This commit is contained in:
Dean Herbert
2016-11-28 15:31:54 +09:00
parent a5651427f6
commit bf63be0602
4 changed files with 33 additions and 2 deletions

View File

@ -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;
}
}