using Godot;

namespace ReactorMaintenance.Godot.Screens;

public partial class TutorialScreen : ScreenBase
{
    public void Configure(AppController app)
    {
        var body = CreatePage("Tutorial");
        body.Alignment = BoxContainer.AlignmentMode.Center;
        body.AddChild(CreateBodyText("Topics: action economy, hazards, forecasts, remedies, heat shields, and reactor activation."));

        var actions = new HBoxContainer { SizeFlagsHorizontal = SizeFlags.ShrinkCenter };
        body.AddChild(actions);
        actions.AddChild(CreateButton("Start Tutorial Level", app.StartRandomLevel));
        actions.AddChild(CreateButton("Back", app.ShowMainMenu));
    }
}