2023-07-17 05:35:20 +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.
|
|
|
|
|
2023-07-21 05:33:43 +08:00
|
|
|
using System;
|
2023-07-17 05:35:20 +08:00
|
|
|
using osu.Framework.Graphics.Sprites;
|
|
|
|
using osu.Game.Overlays.Dialog;
|
|
|
|
|
2023-07-19 06:44:53 +08:00
|
|
|
namespace osu.Game.Tournament.Screens.Editors.Components
|
2023-07-17 05:35:20 +08:00
|
|
|
{
|
2023-07-17 05:44:41 +08:00
|
|
|
public partial class LadderResetTeamsDialog : DangerousActionDialog
|
2023-07-17 05:35:20 +08:00
|
|
|
{
|
2023-07-21 05:33:43 +08:00
|
|
|
public LadderResetTeamsDialog(Action action)
|
2023-07-17 05:35:20 +08:00
|
|
|
{
|
2023-07-21 05:33:43 +08:00
|
|
|
HeaderText = @"Reset teams?";
|
2023-07-17 05:35:20 +08:00
|
|
|
Icon = FontAwesome.Solid.Undo;
|
2023-07-21 05:33:43 +08:00
|
|
|
DangerousAction = action;
|
2023-07-17 05:35:20 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|