diff --git a/OpenRA.Game/Traits/TraitsInterfaces.cs b/OpenRA.Game/Traits/TraitsInterfaces.cs index 537ef15458..18f6fe4803 100644 --- a/OpenRA.Game/Traits/TraitsInterfaces.cs +++ b/OpenRA.Game/Traits/TraitsInterfaces.cs @@ -179,11 +179,6 @@ namespace OpenRA.Traits public interface IDisabledTrait { bool IsTraitDisabled { get; } } public interface IDisable { bool Disabled { get; } } - public interface IRadarSignature - { - IEnumerable> RadarSignatureCells(Actor self); - } - public interface IDefaultVisibilityInfo : ITraitInfoInterface { } public interface IDefaultVisibility { bool IsVisible(Actor self, Player byPlayer); } public interface IVisibilityModifier { bool IsVisible(Actor self, Player byPlayer); } @@ -194,8 +189,6 @@ namespace OpenRA.Traits bool HasFogVisibility(); } - public interface IRadarColorModifier { Color RadarColorOverride(Actor self, Color color); } - public interface ITargetableCells { IEnumerable> TargetableCells(); diff --git a/OpenRA.Mods.Common/TraitsInterfaces.cs b/OpenRA.Mods.Common/TraitsInterfaces.cs index d6284a534c..30009d8907 100644 --- a/OpenRA.Mods.Common/TraitsInterfaces.cs +++ b/OpenRA.Mods.Common/TraitsInterfaces.cs @@ -10,6 +10,7 @@ #endregion using System.Collections.Generic; +using System.Drawing; using OpenRA.Activities; using OpenRA.Graphics; using OpenRA.Mods.Common.Activities; @@ -319,4 +320,11 @@ namespace OpenRA.Mods.Common.Traits bool IsMovingVertically { get; set; } bool CanEnterTargetNow(Actor self, Target target); } + + public interface IRadarSignature + { + IEnumerable> RadarSignatureCells(Actor self); + } + + public interface IRadarColorModifier { Color RadarColorOverride(Actor self, Color color); } }