using ReactorMaintenance.Godot.Controls;
using ReactorMaintenance.Godot.Data;

namespace ReactorMaintenance.Godot.Screens;

public partial class LoseOverlay : OutcomeOverlay
{
    public void Configure(CampaignLevel level, Action retryLevel, Action openGameOver, Action mainMenu)
    {
        Configure(
            "Level Lost",
            $"{level.Name} has failed. Retry reloads the level from its starting snapshot.",
            [
                ("Retry Level", retryLevel),
                ("Game Over", openGameOver),
                ("Main Menu", mainMenu)
            ]);
    }
}