Add a SubCell field to UIM. Allow UIM to query for units by subcell.
This commit is contained in:
@@ -80,7 +80,7 @@ namespace OpenRA.Mods.RA
|
||||
}
|
||||
|
||||
public int2 TopLeft { get { return Location; } }
|
||||
public IEnumerable<int2> OccupiedCells() { return new int2[] { Location }; }
|
||||
public IEnumerable<Pair<int2, SubCell>> OccupiedCells() { yield return Pair.New( Location, SubCell.FullCell); }
|
||||
|
||||
public int2 PxPosition { get; private set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user