New types for cell and pixel coordinate position/vectors.
This commit is contained in:
@@ -31,7 +31,7 @@ namespace OpenRA.Mods.RA
|
||||
public string[] TargetTypes { get { return info.TargetTypes; } }
|
||||
public bool TargetableBy(Actor self, Actor byActor) { return true; }
|
||||
|
||||
public IEnumerable<int2> TargetableCells( Actor self )
|
||||
public IEnumerable<CPos> TargetableCells( Actor self )
|
||||
{
|
||||
return self.Trait<Building>().OccupiedCells().Select(c => c.First);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user