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

namespace ReactorMaintenance.Godot.Screens;

public partial class WinOverlay : OutcomeOverlay
{
    public void Configure(CampaignLevel level, Action nextLevel, Action mainMenu)
    {
        Configure(
            "Reactor Online",
            $"{level.Name} is stabilized. Continue loads the next campaign level or campaign completion screen.",
            [
                ("Continue", nextLevel),
                ("Main Menu", mainMenu)
            ]);
    }
}