// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics.Sprites; using osu.Game.Overlays.Dialog; namespace osu.Game.Tournament.Screens.Editors.Components { public partial class RoundEditorDeleteRoundDialog : DangerousActionDialog { public RoundEditorDeleteRoundDialog(string roundName, Action action) { HeaderText = roundName.Length > 0 ? $@"Delete round ""{roundName}""?" : @"Delete unnamed round?"; Icon = FontAwesome.Solid.Trash; DangerousAction = action; } } }