diff --git a/util/Grid.cpp b/util/Grid.cpp index b2dd09f..294ddd1 100644 --- a/util/Grid.cpp +++ b/util/Grid.cpp @@ -186,18 +186,3 @@ void Grid::printToPrism(std::ostream& os, std::vector& configurat // modules.printConfiguration(os, configuration); //} } - - -std::array Grid::getWalkableDirOf8Neighborhood(cell c) /* const */ { - return (std::array) - { - !isBlocked(c.getNorth()), - !isBlocked(c.getNorth(allGridCells).getEast()), - !isBlocked(c.getEast()), - !isBlocked(c.getSouth(allGridCells).getEast()), - !isBlocked(c.getSouth()), - !isBlocked(c.getSouth(allGridCells).getWest()), - !isBlocked(c.getWest()), - !isBlocked(c.getNorth(allGridCells).getWest()) - }; -}