From d9d1fe2e735b2597456441024ba7e162cadaa5b6 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Tue, 1 Nov 2016 18:57:39 +0100 Subject: [PATCH] Move VisibilityType enum to TraitsInterfaces VisibilityTypes are used by several other traits as well, so it makes more sense to move it to a common, shared location. --- OpenRA.Mods.Common/Traits/Modifiers/HiddenUnderShroud.cs | 2 -- OpenRA.Mods.Common/TraitsInterfaces.cs | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Modifiers/HiddenUnderShroud.cs b/OpenRA.Mods.Common/Traits/Modifiers/HiddenUnderShroud.cs index bbedbcfc7c..a49182845f 100644 --- a/OpenRA.Mods.Common/Traits/Modifiers/HiddenUnderShroud.cs +++ b/OpenRA.Mods.Common/Traits/Modifiers/HiddenUnderShroud.cs @@ -15,8 +15,6 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { - public enum VisibilityType { Footprint, CenterPosition, GroundPosition } - [Desc("The actor stays invisible under the shroud.")] public class HiddenUnderShroudInfo : ITraitInfo, IDefaultVisibilityInfo { diff --git a/OpenRA.Mods.Common/TraitsInterfaces.cs b/OpenRA.Mods.Common/TraitsInterfaces.cs index 405ba38190..9a003670d4 100644 --- a/OpenRA.Mods.Common/TraitsInterfaces.cs +++ b/OpenRA.Mods.Common/TraitsInterfaces.cs @@ -19,6 +19,8 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { + public enum VisibilityType { Footprint, CenterPosition, GroundPosition } + public enum AttackDelayType { Preparation, Attack } public interface IQuantizeBodyOrientationInfo : ITraitInfo