ICatcherPiece -> ICatcherSprite

This commit is contained in:
ekrctb
2021-06-08 22:10:13 +09:00
parent 194c78f67a
commit 7df971a970
5 changed files with 5 additions and 7 deletions

View File

@ -89,7 +89,7 @@ namespace osu.Game.Rulesets.Catch.UI
/// </summary>
public const float ALLOWED_CATCH_RANGE = 0.8f;
internal Texture CurrentTexture => currentCatcherPiece.CurrentTexture;
internal Texture CurrentTexture => ((ICatcherSprite)currentCatcher.Drawable).CurrentTexture;
private bool dashing;
@ -113,8 +113,6 @@ namespace osu.Game.Rulesets.Catch.UI
private readonly SkinnableDrawable currentCatcher;
private ICatcherPiece currentCatcherPiece => (ICatcherPiece)currentCatcher.Drawable;
private Color4 hyperDashColour = DEFAULT_HYPER_DASH_COLOUR;
private Color4 hyperDashEndGlowColour = DEFAULT_HYPER_DASH_COLOUR;