Add ITargetableCells interface
This commit is contained in:
@@ -201,6 +201,11 @@ namespace OpenRA.Traits
|
||||
|
||||
public interface IRadarColorModifier { Color RadarColorOverride(Actor self, Color color); }
|
||||
|
||||
public interface ITargetableCells
|
||||
{
|
||||
IEnumerable<Pair<CPos, SubCell>> TargetableCells();
|
||||
}
|
||||
|
||||
public interface IOccupySpaceInfo : ITraitInfoInterface
|
||||
{
|
||||
IReadOnlyDictionary<CPos, SubCell> OccupiedCells(ActorInfo info, CPos location, SubCell subCell = SubCell.Any);
|
||||
|
||||
Reference in New Issue
Block a user