public void move() { //class of paddle motion
        x += dx; //the paddle moves only in the x place with a dx change in position
        if (x <= 2) //sets a limit to the paddles' motion to the left of the screen (it's two because each dx change is of 2 pixles)
          x = 2; //if the user tries to go beyond that point, the paddle does not move
        if (x >= Commons.PADDLE_RIGHT) //same as above, but for the right end of the screen
          x = Commons.PADDLE_RIGHT;
    }