Add faction specific tooltip backgrounds.

This commit is contained in:
Paul Chote
2019-05-14 02:24:23 +03:00
committed by reaperrr
parent a5bd08bd02
commit 72dbb871ac
10 changed files with 261 additions and 52 deletions

View File

@@ -11,7 +11,7 @@
namespace OpenRA.Mods.Common.Widgets
{
public class MenuButtonWidget : ButtonWidget
public class MenuButtonWidget : WorldButtonWidget
{
public readonly string MenuContainer = "INGAME_MENU";
public readonly bool Pause = true;
@@ -19,8 +19,8 @@ namespace OpenRA.Mods.Common.Widgets
public readonly bool DisableWorldSounds = false;
[ObjectCreator.UseCtor]
public MenuButtonWidget(ModData modData)
: base(modData) { }
public MenuButtonWidget(ModData modData, World world)
: base(modData, world) { }
protected MenuButtonWidget(MenuButtonWidget other)
: base(other)