diff --git a/osu.Game.Rulesets.Catch/Objects/CatchHitObject.cs b/osu.Game.Rulesets.Catch/Objects/CatchHitObject.cs index d40821c840..6a040efb91 100644 --- a/osu.Game.Rulesets.Catch/Objects/CatchHitObject.cs +++ b/osu.Game.Rulesets.Catch/Objects/CatchHitObject.cs @@ -1,7 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -using System; using osu.Framework.Bindables; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; @@ -31,14 +30,11 @@ public float OriginalX set => OriginalXBindable.Value = value; } - /// - /// The horizontal position of the fruit between 0 and . - /// + float IHasXPosition.X => OriginalX; + public float X { - [Obsolete("Use EffectiveX instead")] - get => EffectiveX; - set => OriginalXBindable.Value = value; + set => OriginalX = value; } public readonly Bindable EffectiveXBindable = new Bindable();