Add TestCaseMatchInfo.

This commit is contained in:
DrabWeb
2018-05-29 03:24:38 -03:00
parent 94b54a0520
commit b4b4a8a157
3 changed files with 66 additions and 2 deletions

View File

@ -24,9 +24,12 @@ namespace osu.Game.Screens.Multi.Screens.Match
private readonly OsuSpriteText name, availabilityStatus;
private readonly BeatmapTypeInfo beatmapTypeInfo;
private readonly ReadyButton readyButton;
private OsuColour colours;
public Bindable<bool> Ready => readyButton.Ready;
public string Name
{
set { name.Text = value; }
@ -116,7 +119,7 @@ namespace osu.Game.Screens.Multi.Screens.Match
},
},
},
new ReadyButton
readyButton = new ReadyButton
{
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
@ -146,7 +149,7 @@ namespace osu.Game.Screens.Multi.Screens.Match
{
if (status != null)
{
availabilityStatus.FadeColour(status.GetAppropriateColour(colours));
availabilityStatus.FadeColour(status.GetAppropriateColour(colours), 100);
availabilityStatus.Text = $"{availability.GetDescription()}, {status.Message}";
}
}