2016-08-31 12:51:00 +08:00
|
|
|
|
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Beatmaps.Timing
|
|
|
|
|
{
|
|
|
|
|
class TimingChange : ControlPoint
|
|
|
|
|
{
|
|
|
|
|
public double BeatLength;
|
|
|
|
|
|
2016-11-04 14:40:05 +08:00
|
|
|
|
public TimingChange(double beatLength)
|
|
|
|
|
{
|
|
|
|
|
BeatLength = beatLength;
|
|
|
|
|
}
|
|
|
|
|
|
2016-08-31 12:51:00 +08:00
|
|
|
|
public double BPM => 60000 / BeatLength;
|
|
|
|
|
}
|
|
|
|
|
}
|