public Map<Entity, Location> getSquareNeighborLocations(int row, int col,
                                                            int dist) {

        Map<Entity, Location> neighborLocations = new HashMap<>();
        for (int x = row - dist; x <= row + dist; x++) {
            if (isInBounds(x)) {
                for (int y = col - dist; y <= col + dist; y++) {
                    if (isInBounds(y) && thisTick[x][y] != null
                        && !(x == row && y == col)) {

                        neighborLocations.put(thisTick[x][y], new Location(x, y));
                    }
                }
            }
        }
        return neighborLocations;
    }