mirror of
https://github.com/ppy/osu.git
synced 2024-11-07 10:17:43 +08:00
16 lines
421 B
C#
16 lines
421 B
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
namespace osu.Game.Beatmaps.Timing
|
|
{
|
|
internal class TimingChange : ControlPoint
|
|
{
|
|
public TimingChange(double beatLength)
|
|
{
|
|
BeatLength = beatLength;
|
|
}
|
|
|
|
public double BPM => 60000 / BeatLength;
|
|
}
|
|
}
|