2019-03-04 12:24:19 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-11-15 20:28:42 +08:00
|
|
|
|
|
|
|
using osu.Framework.Allocation;
|
2023-08-16 16:25:25 +08:00
|
|
|
using osu.Game.Screens.Play.HUD;
|
2018-11-15 20:28:42 +08:00
|
|
|
using osu.Game.Tournament.IPC;
|
|
|
|
|
|
|
|
namespace osu.Game.Tournament.Screens.Gameplay.Components
|
|
|
|
{
|
2023-08-16 16:25:25 +08:00
|
|
|
public partial class TournamentMatchScoreDisplay : MatchScoreDisplay
|
2018-11-15 20:28:42 +08:00
|
|
|
{
|
|
|
|
[BackgroundDependencyLoader]
|
2022-01-15 08:06:39 +08:00
|
|
|
private void load(MatchIPCInfo ipc)
|
2018-11-15 20:28:42 +08:00
|
|
|
{
|
2023-08-16 16:25:25 +08:00
|
|
|
Team1Score.BindTo(ipc.Score1);
|
|
|
|
Team2Score.BindTo(ipc.Score2);
|
2023-07-23 14:32:12 +08:00
|
|
|
}
|
2018-11-15 20:28:42 +08:00
|
|
|
}
|
|
|
|
}
|