Add HPF overlay controls to observer chrome

This commit is contained in:
Ivaylo Draganov
2022-11-04 13:33:38 +02:00
committed by abcdefg30
parent 2b57b6be1d
commit 18e36b96db
13 changed files with 76 additions and 68 deletions

View File

@@ -0,0 +1,24 @@
#region Copyright & License Information
/*
* Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version. For more
* information, see COPYING.
*/
#endregion
using OpenRA.Widgets;
namespace OpenRA.Mods.Common.Widgets.Logic
{
public class LoadIngameHierarchicalPathFinderOverlayLogic : ChromeLogic
{
[ObjectCreator.UseCtor]
public LoadIngameHierarchicalPathFinderOverlayLogic(Widget widget, World world)
{
Game.LoadWidget(world, "HPF_OVERLAY", widget, new WidgetArgs());
}
}
}