public void setPoint(String jugador){
        set.setPunto(jugador);
        if(jugador == "player1"){
            racquet1.x = 0;
            racquet1.y = 0;
            ball.x = racquet1.WIDTH;
            ball.y = 0;
            ball.xa = getSpeedx();
            ball.ya = getSpeedx();
        }else if(jugador == "player2"){
            racquet2.x = 585;
            racquet2.y = 0;
            ball.x = 555;
            ball.y = 0;
            ball.xa = -getSpeedx();
            ball.ya = getSpeedx();
        }
    }