Add tracking of team totals to leaderboard implementation

This commit is contained in:
Dean Herbert
2021-08-09 17:07:50 +09:00
parent 77c9aadd05
commit cdc173e867
2 changed files with 35 additions and 3 deletions

View File

@ -83,6 +83,12 @@ namespace osu.Game.Tests.Visual.Multiplayer
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
}, Add);
LoadComponentAsync(new MatchScoreDisplay
{
Team1Score = { BindTarget = leaderboard.Team1Score },
Team2Score = { BindTarget = leaderboard.Team2Score }
}, Add);
});
AddUntilStep("wait for load", () => leaderboard.IsLoaded);