From a1fa43966ba46907f8d78bbc4a87f02711f5b581 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Tue, 9 Jun 2015 22:25:05 +0200 Subject: [PATCH] Newlines to improve readability of SelectionDecorations. --- OpenRA.Mods.Common/Traits/SelectionDecorations.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenRA.Mods.Common/Traits/SelectionDecorations.cs b/OpenRA.Mods.Common/Traits/SelectionDecorations.cs index d23153a9e7..1fac7b8cc5 100644 --- a/OpenRA.Mods.Common/Traits/SelectionDecorations.cs +++ b/OpenRA.Mods.Common/Traits/SelectionDecorations.cs @@ -20,11 +20,15 @@ namespace OpenRA.Mods.Common.Traits public class SelectionDecorationsInfo : ITraitInfo, ISelectionDecorationsInfo { public readonly string Palette = "chrome"; + [Desc("Visual bounds for selection box. If null, it uses AutoSelectionSize.")] public readonly int[] VisualBounds = null; + [Desc("Health bar, production progress bar etc.")] public readonly bool RenderSelectionBars = true; + public readonly bool RenderSelectionBox = true; + public readonly Color SelectionBoxColor = Color.White; public object Create(ActorInitializer init) { return new SelectionDecorations(init.Self, this); }