public void avoid(){
        for(int b=0;b<lasers.size();b++){
            if(lasers.get(b).kind==kind)
                continue;

            boolean obstacle = collisionCircle(getX(),getY(),75,(int)(lasers.get(b).x+lasers.get(b).deltax),(int)(lasers.get(b).y+lasers.get(b).deltay),(int)(lasers.get(b).h/2));

            if(obstacle&&(!left||!right||!up||!down)&&!isFacing2(b, 90)) {
                if(obstacle)
                    setAngle(angle-Math.toRadians(3)*power);
                else
                    setAngle(angle+Math.toRadians(3)*power);
            }
        }
    }