private boolean canNotPassWall(double x, double dx, double y, double dy){
        for (Wall wall: walls){
            if (wall.crossedWall(x, dx, y, dy)){
                return true;
            }
        }
        return false;
    }