1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 17:47:18 +08:00

Adjust taiko argon transformer to new naming

This commit is contained in:
Bartłomiej Dach 2022-11-12 02:10:10 +09:00
parent 7379f6fe20
commit 7ef11cab8b
No known key found for this signature in database

View File

@ -14,14 +14,14 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Argon
{
}
public override Drawable? GetDrawableComponent(ISkinComponent component)
public override Drawable? GetDrawableComponent(ISkinComponentLookup component)
{
switch (component)
{
case GameplaySkinComponent<HitResult> resultComponent:
case GameplaySkinComponentLookup<HitResult> resultComponent:
return new ArgonJudgementPiece(resultComponent.Component);
case TaikoSkinComponent catchComponent:
case TaikoSkinComponentLookup catchComponent:
// TODO: Once everything is finalised, consider throwing UnsupportedSkinComponentException on missing entries.
switch (catchComponent.Component)
{