more general tidying in CNC widget code

This commit is contained in:
Chris Forbes
2011-10-21 22:58:49 +13:00
parent 4c26710ccb
commit 00372f4748
14 changed files with 13 additions and 26 deletions

View File

@@ -17,13 +17,14 @@ using OpenRA.Widgets;
namespace OpenRA.Mods.Cnc.Widgets
{
public enum WorldTooltipType { None, Unexplored, Actor }
public class CncWorldInteractionControllerWidget : WorldInteractionControllerWidget
{
public readonly string TooltipTemplate = "WORLD_TOOLTIP";
public readonly string TooltipContainer;
Lazy<TooltipContainerWidget> tooltipContainer;
public enum WorldTooltipType { None, Unexplored, Actor }
public WorldTooltipType TooltipType { get; private set; }
public IToolTip ActorTooltip { get; private set; }