private int getEuclideanDistance(Tile start) {
        int dx = Math.abs(start.getX() - end.getX());
        int dy = Math.abs(start.getY() - end.getY());
        return (int) Math.sqrt(dx * dx + dy * dy);
    }