Move radar signature interfaces to Mods.Common.
This commit is contained in:
committed by
Oliver Brakmann
parent
e54cf9acc3
commit
3f72076e1a
@@ -179,11 +179,6 @@ namespace OpenRA.Traits
|
|||||||
public interface IDisabledTrait { bool IsTraitDisabled { get; } }
|
public interface IDisabledTrait { bool IsTraitDisabled { get; } }
|
||||||
public interface IDisable { bool Disabled { get; } }
|
public interface IDisable { bool Disabled { get; } }
|
||||||
|
|
||||||
public interface IRadarSignature
|
|
||||||
{
|
|
||||||
IEnumerable<Pair<CPos, Color>> RadarSignatureCells(Actor self);
|
|
||||||
}
|
|
||||||
|
|
||||||
public interface IDefaultVisibilityInfo : ITraitInfoInterface { }
|
public interface IDefaultVisibilityInfo : ITraitInfoInterface { }
|
||||||
public interface IDefaultVisibility { bool IsVisible(Actor self, Player byPlayer); }
|
public interface IDefaultVisibility { bool IsVisible(Actor self, Player byPlayer); }
|
||||||
public interface IVisibilityModifier { bool IsVisible(Actor self, Player byPlayer); }
|
public interface IVisibilityModifier { bool IsVisible(Actor self, Player byPlayer); }
|
||||||
@@ -194,8 +189,6 @@ namespace OpenRA.Traits
|
|||||||
bool HasFogVisibility();
|
bool HasFogVisibility();
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IRadarColorModifier { Color RadarColorOverride(Actor self, Color color); }
|
|
||||||
|
|
||||||
public interface ITargetableCells
|
public interface ITargetableCells
|
||||||
{
|
{
|
||||||
IEnumerable<Pair<CPos, SubCell>> TargetableCells();
|
IEnumerable<Pair<CPos, SubCell>> TargetableCells();
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Drawing;
|
||||||
using OpenRA.Activities;
|
using OpenRA.Activities;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Mods.Common.Activities;
|
using OpenRA.Mods.Common.Activities;
|
||||||
@@ -319,4 +320,11 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
bool IsMovingVertically { get; set; }
|
bool IsMovingVertically { get; set; }
|
||||||
bool CanEnterTargetNow(Actor self, Target target);
|
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); }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user