Use CreateCopy instead of Clone interface

I was going for conformity by using the IClonable interface, but it
doesn't look like we use it anywhere else in the project.
This commit is contained in:
Dean Herbert
2021-01-05 13:13:51 +09:00
parent b7dd54847f
commit caa88c6100
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ using osu.Framework.Lists;
namespace osu.Game.Beatmaps.ControlPoints
{
[Serializable]
public class ControlPointInfo : ICloneable
public class ControlPointInfo
{
/// <summary>
/// All control points grouped by time.
@ -298,7 +298,7 @@ namespace osu.Game.Beatmaps.ControlPoints
}
}
public object Clone()
public ControlPointInfo CreateCopy()
{
var controlPointInfo = new ControlPointInfo();