Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "Playfield" -> "Ring" for skinning #172

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public override Drawable GetDrawableComponent(ISkinComponent component)
case TauSkinComponents.Handle:
return Source.GetTexture("handle") != null ? new LegacyHandle() : null;

case TauSkinComponents.Playfield:
return Source.GetTexture("field-overlay") != null ? new LegacyPlayfield() : null;
case TauSkinComponents.Ring:
return Source.GetTexture("ring-overlay") != null ? new LegacyPlayfield() : null;
}

return null;
Expand Down
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Tau/TauSkinComponents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public enum TauSkinComponents
{
Beat,
Playfield,
Ring,
HardBeat,
Handle
}
Expand Down
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Tau/UI/TauPlayfield.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public TauPlayfield(BeatmapDifficulty difficulty)
Origin = Anchor.Centre,
},
new VisualisationContainer(),
new SkinnableDrawable(new TauSkinComponent(TauSkinComponents.Playfield), _ => new PlayfieldPiece()),
new SkinnableDrawable(new TauSkinComponent(TauSkinComponents.Ring), _ => new PlayfieldPiece()),
HitObjectContainer,
cursor,
kiaiExplosionContainer = new Container<KiaiHitExplosion>
Expand Down