Revert rename error

This commit is contained in:
ekrctb 2020-12-09 10:25:35 +09:00
parent 1212ffd24f
commit b80204642e
5 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@
namespace osu.Game.Rulesets.Catch.Objects.Drawables namespace osu.Game.Rulesets.Catch.Objects.Drawables
{ {
public class DrawableBanana : DrawablePalpableHasCatchHitObject public class DrawableBanana : DrawablePalpableCatchHitObject
{ {
public DrawableBanana() public DrawableBanana()
: this(null) : this(null)

View File

@ -9,7 +9,7 @@
namespace osu.Game.Rulesets.Catch.Objects.Drawables namespace osu.Game.Rulesets.Catch.Objects.Drawables
{ {
public class DrawableDroplet : DrawablePalpableHasCatchHitObject public class DrawableDroplet : DrawablePalpableCatchHitObject
{ {
public DrawableDroplet() public DrawableDroplet()
: this(null) : this(null)

View File

@ -10,7 +10,7 @@
namespace osu.Game.Rulesets.Catch.Objects.Drawables namespace osu.Game.Rulesets.Catch.Objects.Drawables
{ {
public class DrawableFruit : DrawablePalpableHasCatchHitObject, IHasFruitState public class DrawableFruit : DrawablePalpableCatchHitObject, IHasFruitState
{ {
public Bindable<FruitVisualRepresentation> VisualRepresentation { get; } = new Bindable<FruitVisualRepresentation>(); public Bindable<FruitVisualRepresentation> VisualRepresentation { get; } = new Bindable<FruitVisualRepresentation>();

View File

@ -11,7 +11,7 @@
namespace osu.Game.Rulesets.Catch.Objects.Drawables namespace osu.Game.Rulesets.Catch.Objects.Drawables
{ {
[Cached(typeof(IHasCatchObjectState))] [Cached(typeof(IHasCatchObjectState))]
public abstract class DrawablePalpableHasCatchHitObject : DrawableCatchHitObject, IHasCatchObjectState public abstract class DrawablePalpableCatchHitObject : DrawableCatchHitObject, IHasCatchObjectState
{ {
public new PalpableCatchHitObject HitObject => (PalpableCatchHitObject)base.HitObject; public new PalpableCatchHitObject HitObject => (PalpableCatchHitObject)base.HitObject;
@ -30,7 +30,7 @@ public abstract class DrawablePalpableHasCatchHitObject : DrawableCatchHitObject
public float DisplayRadius => CatchHitObject.OBJECT_RADIUS * HitObject.Scale * ScaleFactor; public float DisplayRadius => CatchHitObject.OBJECT_RADIUS * HitObject.Scale * ScaleFactor;
protected DrawablePalpableHasCatchHitObject([CanBeNull] CatchHitObject h) protected DrawablePalpableCatchHitObject([CanBeNull] CatchHitObject h)
: base(h) : base(h)
{ {
Origin = Anchor.Centre; Origin = Anchor.Centre;

View File

@ -223,7 +223,7 @@ public void OnNewResult(DrawableCatchHitObject drawableObject, JudgementResult r
catchResult.CatcherAnimationState = CurrentState; catchResult.CatcherAnimationState = CurrentState;
catchResult.CatcherHyperDash = HyperDashing; catchResult.CatcherHyperDash = HyperDashing;
if (!(drawableObject is DrawablePalpableHasCatchHitObject palpableObject)) return; if (!(drawableObject is DrawablePalpableCatchHitObject palpableObject)) return;
var hitObject = palpableObject.HitObject; var hitObject = palpableObject.HitObject;
@ -458,7 +458,7 @@ private void updateState(CatcherAnimationState state)
updateCatcher(); updateCatcher();
} }
private void placeCaughtObject(DrawablePalpableHasCatchHitObject drawableObject, Vector2 position) private void placeCaughtObject(DrawablePalpableCatchHitObject drawableObject, Vector2 position)
{ {
var caughtObject = getCaughtObject(drawableObject.HitObject); var caughtObject = getCaughtObject(drawableObject.HitObject);