public CellState(bool isBlocked, Coordinate2D coordinate2, TerrainType terrainType) { IsBlocked = isBlocked; Coordinate3 = coordinate2.To3D(); TerrainType = terrainType; }
public bool IsCellBlocked(Coordinate2D coordinate) { return(IsCellBlocked(coordinate.To3D())); }
public CellState GetCellState(Coordinate2D coordinate) { return(GetCellState(coordinate.To3D())); }
public void SetCellsTerrainType(Coordinate2D coordinate, TerrainType terrainType) { SetCellsTerrainType(coordinate.To3D(), terrainType); }
public bool Contains(Coordinate2D coordinate) { return(Contains(coordinate.To3D())); }
public void SetCellsTerrainType(List <Coordinate2D> coordinates, TerrainType terrainType) { SetCellsTerrainType(Coordinate2D.To3D(coordinates), terrainType); }
public void UnblockCells(Coordinate2D coordinate) { UnblockCells(coordinate.To3D()); }
public void UnblockCells(List <Coordinate2D> coordinates) { UnblockCells(Coordinate2D.To3D(coordinates)); }
public void BlockCells(Coordinate2D coordinate) { BlockCells(coordinate.To3D()); }
public void RemoveCells(List <Coordinate2D> coordinatesToRemove2d) { RemoveCells(Coordinate2D.To3D(coordinatesToRemove2d)); }