Rename method to EquivalentTo

This commit is contained in:
Dean Herbert
2018-07-05 15:00:02 +09:00
parent d11ba2df0e
commit 44aecdc3a0
7 changed files with 18 additions and 19 deletions

View File

@ -45,8 +45,8 @@ namespace osu.Game.Beatmaps.ControlPoints
return newSampleInfo;
}
public override bool ChangeEquals(ControlPoint other)
=> base.ChangeEquals(other)
public override bool EquivalentTo(ControlPoint other)
=> base.EquivalentTo(other)
&& other is SampleControlPoint sample
&& SampleBank.Equals(sample.SampleBank)
&& SampleVolume.Equals(sample.SampleVolume);