2017-05-23 12:55:18 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-05-23 14:20:32 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
2017-05-23 12:55:18 +08:00
|
|
|
|
namespace osu.Game.Beatmaps.ControlPoints
|
|
|
|
|
{
|
2017-05-23 14:20:32 +08:00
|
|
|
|
public class ControlPoint : IComparable<ControlPoint>
|
2017-05-23 12:55:18 +08:00
|
|
|
|
{
|
2017-05-23 13:11:37 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The time at which the control point takes effect.
|
|
|
|
|
/// </summary>
|
2017-05-23 12:55:18 +08:00
|
|
|
|
public double Time;
|
2017-05-23 14:20:32 +08:00
|
|
|
|
|
|
|
|
|
public int CompareTo(ControlPoint other) => Time.CompareTo(other.Time);
|
2017-05-23 12:55:18 +08:00
|
|
|
|
}
|
|
|
|
|
}
|