Add methods to IOccupySpaceInfo.

This commit is contained in:
Paul Chote
2015-04-06 14:15:57 +01:00
parent 5754de141d
commit 9e5e1f1a89
8 changed files with 53 additions and 2 deletions

View File

@@ -158,7 +158,12 @@ namespace OpenRA.Traits
public interface IRadarColorModifier { Color RadarColorOverride(Actor self); }
public interface IOccupySpaceInfo : ITraitInfo { }
public interface IOccupySpaceInfo : ITraitInfo
{
IReadOnlyDictionary<CPos, SubCell> OccupiedCells(ActorInfo info, CPos location, SubCell subCell = SubCell.Any);
bool SharesCell { get; }
}
public interface IOccupySpace
{
WPos CenterPosition { get; }