Add MapGrid class
MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
This commit is contained in:
@@ -26,7 +26,7 @@ namespace OpenRA.Mods.Common.Pathfinder
|
||||
CellLayer<CellInfo>.CreateInstance(
|
||||
mpos => new CellInfo(int.MaxValue, int.MaxValue, mpos.ToCPos(map), CellStatus.Unvisited),
|
||||
new Size(map.MapSize.X, map.MapSize.Y),
|
||||
map.TileShape);
|
||||
map.Grid.Type);
|
||||
}
|
||||
|
||||
public PooledCellInfoLayer Get()
|
||||
|
||||
Reference in New Issue
Block a user