using Cthangover.Core.UI.Tool;
using Godot;
using Cthangover.Mods.Interface.Tool;
namespace Cthangover.Core.UI.Tool.ScenarioEditor
{
/// Registers the scenario editor as a tool window. Creates instances.
public class ScenarioEditorToolProvider : IToolProvider
{
/// Unique tool identifier.
public string Id => "scenario_editor";
/// Translation key for the tool's display name.
public string LocaleKey => "tools/scenario_editor/title";
/// Creates the editor window instance.
public Window CreateWindow() => new ScenarioEditorWindow();
/// Adds the scenario editor's launcher button to the main menu tool block.
public void AddMenuButton(Container container) => ToolMenuButton.Attach(container, this);
}
}