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