Move radar signature interfaces to Mods.Common.

This commit is contained in:
Paul Chote
2017-09-07 20:40:49 +01:00
committed by Oliver Brakmann
parent e54cf9acc3
commit 3f72076e1a
2 changed files with 8 additions and 7 deletions

View File

@@ -179,11 +179,6 @@ namespace OpenRA.Traits
public interface IDisabledTrait { bool IsTraitDisabled { get; } }
public interface IDisable { bool Disabled { get; } }
public interface IRadarSignature
{
IEnumerable<Pair<CPos, Color>> 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<Pair<CPos, SubCell>> TargetableCells();

View File

@@ -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<Pair<CPos, Color>> RadarSignatureCells(Actor self);
}
public interface IRadarColorModifier { Color RadarColorOverride(Actor self, Color color); }
}