mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
24 lines
572 B
C#
24 lines
572 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
|
|
|
|
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;
|
|
|
|
public TimingChange(double beatLength)
|
|
{
|
|
BeatLength = beatLength;
|
|
}
|
|
|
|
public double BPM => 60000 / BeatLength;
|
|
}
|
|
}
|