new battle gui

This commit is contained in:
cthangover committed 2026-09-28 10:48:06 +03:00
1 parent 7521959cc0
commit 86b3bf97a7
8 files changed
+39 -10

No files matched your search

@@ -19,5 +19,8 @@ namespace Cthangover.Core.UI.Tool.CatalogExport
/// <summary>Creates the export window instance.</summary>
public Window CreateWindow() => new CatalogExportWindow();
/// <summary>Adds the catalog export launcher button to the main menu tool block.</summary>
public void AddMenuButton(Container container) => ToolMenuButton.Attach(container, this);
}
}
@@ -16,6 +16,8 @@ namespace Cthangover.Tools.InteractiveEditor
public string LocaleKey => "tools/interactive_editor/title";
/// <summary>Creates the editor window instance.</summary>
public Window CreateWindow() => new InteractiveEditorWindow();
/// <summary>Adds the interactive editor's launcher button to the main menu tool block.</summary>
public void AddMenuButton(Container container) => ToolMenuButton.Attach(container, this);
}
/// <summary>
@@ -12,6 +12,8 @@ namespace Cthangover.Core.UI.Tool.LightEditor
public string LocaleKey => "tools/light_editor/title";
/// <summary>Creates the editor window instance.</summary>
public Window CreateWindow() => new LightEditorWindow();
/// <summary>Adds the light editor's launcher button to the main menu tool block.</summary>
public void AddMenuButton(Container container) => ToolMenuButton.Attach(container, this);
}
/// <summary>Toolbox button that opens the light editor. Always visible.</summary>
@@ -12,5 +12,7 @@ namespace Cthangover.Core.UI.Tool.ScenarioEditor
public string LocaleKey => "tools/scenario_editor/title";
/// <summary>Creates the editor window instance.</summary>
public Window CreateWindow() => new ScenarioEditorWindow();
/// <summary>Adds the scenario editor's launcher button to the main menu tool block.</summary>
public void AddMenuButton(Container container) => ToolMenuButton.Attach(container, this);
}
}
@@ -12,5 +12,7 @@ namespace Cthangover.Core.UI.Tool.SceneBuilder
public string LocaleKey => "tools/scene_builder/title";
/// <summary>Creates the editor window instance.</summary>
public Window CreateWindow() => new SceneBuilderWindow();
/// <summary>Adds the scene builder's launcher button to the main menu tool block.</summary>
public void AddMenuButton(Container container) => ToolMenuButton.Attach(container, this);
}
}