public void move() {
        //angle=Math.random()*Math.toRadians(360);
        double speed = .3;
        boolean canmove=false;
        double vx = Math.cos(angle) * speed*10;
        double vy = Math.sin(angle) * speed*10;
        for (int q=0;q<objects.size();q++){
            if(!(objects.get(q) instanceof BASE))
                continue;

            BASE a =(BASE)objects.get(q);

            if(collisionCircle((int)Math.round(x+vx),(int)Math.round(y+vy),h/2,a.getX(),a.getY(),User.basefield/2)) {
            canmove=false;
            }
        }
        if(canmove) {
            x += Math.cos(angle) * speed*10;
            y += Math.sin(angle) * speed*10;
        } else {
            angle=addAngles(angle);
        }
        setAngle(angle+Math.random()*Math.toRadians(2)-Math.toRadians(1));
    }