public boolean avoidAsteroid(){
        boolean hit=false;
        for(int b=0;b<objects.size();b++){
            if(objects.get(b).kind!=0)
                continue;

            boolean obstacle = collisionCircle((int)(x+vx),(int)(y+vy),h/2,(int)(objects.get(b).x),(int)(objects.get(b).y),(int)(objects.get(b).h/2));
            if(obstacle) {
                hit=true;
            }
        }
        return hit;
    }