public void move() {
        paddle.y += yDirection;
        if(paddle.y <= 25)
            paddle.y = 25;
        if(paddle.y >= 250)
            paddle.y = 250;
        if(this.id == 2 && players == 1) {
            collision();
            if(((LocalGame) screen).getBallY() < paddle.y+25)
                setYDirection(-1);
            if(((LocalGame) screen).getBallY() > paddle.y+25)
                setYDirection(+1);
        }
    }