mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 17:12:56 +08:00
Make (Manual)BreakPeriod
a class again
CodeFileSanity doesn't like records and it being a record wasn't doing much anymore anyway.
This commit is contained in:
parent
00443403b6
commit
617c1341d7
@ -6,7 +6,7 @@ using osu.Game.Screens.Play;
|
|||||||
|
|
||||||
namespace osu.Game.Beatmaps.Timing
|
namespace osu.Game.Beatmaps.Timing
|
||||||
{
|
{
|
||||||
public record BreakPeriod
|
public class BreakPeriod : IEquatable<BreakPeriod>
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The minimum gap between the start of the break and the previous object.
|
/// The minimum gap between the start of the break and the previous object.
|
||||||
|
@ -5,7 +5,7 @@ using osu.Game.Beatmaps.Timing;
|
|||||||
|
|
||||||
namespace osu.Game.Screens.Edit
|
namespace osu.Game.Screens.Edit
|
||||||
{
|
{
|
||||||
public record ManualBreakPeriod : BreakPeriod
|
public class ManualBreakPeriod : BreakPeriod
|
||||||
{
|
{
|
||||||
public ManualBreakPeriod(double startTime, double endTime)
|
public ManualBreakPeriod(double startTime, double endTime)
|
||||||
: base(startTime, endTime)
|
: base(startTime, endTime)
|
||||||
|
Loading…
Reference in New Issue
Block a user