Rename classes to better suit purpose

This commit is contained in:
Dean Herbert
2020-03-12 13:29:09 +09:00
parent cb0e698e04
commit 190ff97486
8 changed files with 42 additions and 22 deletions

View File

@ -41,13 +41,13 @@ namespace osu.Game.Tournament.Screens.Gameplay.Components
Spacing = new Vector2(5),
Children = new Drawable[]
{
new DrawableTournamentTitleText
new DrawableTournamentHeaderText
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Scale = new Vector2(1.2f)
},
new RoundDisplay
new MatchRoundDisplay
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,

View File

@ -8,7 +8,7 @@ using osu.Game.Tournament.Models;
namespace osu.Game.Tournament.Screens.Gameplay.Components
{
public class RoundDisplay : TournamentSpriteTextWithBackground
public class MatchRoundDisplay : TournamentSpriteTextWithBackground
{
private readonly Bindable<TournamentMatch> currentMatch = new Bindable<TournamentMatch>();

View File

@ -47,7 +47,7 @@ namespace osu.Game.Tournament.Screens.Ladder
RelativeSizeAxes = Axes.Both,
Loop = true,
},
new DrawableTournamentTitleText
new DrawableTournamentHeaderText
{
Y = 100,
Anchor = Anchor.TopCentre,

View File

@ -62,7 +62,7 @@ namespace osu.Game.Tournament.Screens.Schedule
Direction = FillDirection.Vertical,
Children = new Drawable[]
{
new DrawableTournamentTitleText(),
new DrawableTournamentHeaderText(),
new Container
{
Margin = new MarginPadding { Top = 40 },