Remove unused method

This commit is contained in:
smoogipoo 2020-12-01 17:02:45 +09:00
parent 199710b941
commit 4900589af4

View File

@ -520,10 +520,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
};
public override HitSampleInfo With(Optional<string> name = default, Optional<string?> bank = default, Optional<string?> suffix = default, Optional<int> volume = default)
=> With(volume: volume);
public FileHitSampleInfo With(Optional<string> filename = default, Optional<int> volume = default)
=> new FileHitSampleInfo(filename.GetOr(Filename), volume.GetOr(Volume));
=> new FileHitSampleInfo(Filename, volume.GetOr(Volume));
public bool Equals(FileHitSampleInfo? other)
=> base.Equals(other) && Filename == other.Filename;