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