mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Implement and use equality comparers for ControlPoint
This commit is contained in:
@ -14,5 +14,11 @@ namespace osu.Game.Beatmaps.ControlPoints
|
||||
/// Whether the first bar line of this control point is ignored.
|
||||
/// </summary>
|
||||
public bool OmitFirstBarLine;
|
||||
|
||||
public override bool Equals(ControlPoint other)
|
||||
=> base.Equals(other)
|
||||
&& other is EffectControlPoint effect
|
||||
&& KiaiMode == effect.KiaiMode
|
||||
&& OmitFirstBarLine == effect.OmitFirstBarLine;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user