public Ball(int xl, int yl){
        xLoc = xl;
        yLoc = yl;
        xVel = (Math.random()-.5)*3;
        if(Math.abs(xVel)<2){
            if(xVel>0)
                xVel+=2;
            if(xVel<0)
                xVel-=2;
        }
        yVel = Math.random()*3;
    }