mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 08:07:40 +08:00
6f44db6de0
This is what stable did.
22 lines
611 B
C#
22 lines
611 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using OpenTK;
|
|
|
|
namespace osu.Game.Beatmaps.ControlPoints
|
|
{
|
|
public class DifficultyControlPoint : ControlPoint
|
|
{
|
|
/// <summary>
|
|
/// The speed multiplier at this control point.
|
|
/// </summary>
|
|
public double SpeedMultiplier
|
|
{
|
|
get => speedMultiplier;
|
|
set => speedMultiplier = MathHelper.Clamp(value, 0.1, 10);
|
|
}
|
|
|
|
private double speedMultiplier = 1;
|
|
}
|
|
}
|