private static void insertObs(Difficulty diff, Point enter, Orientation orientation){
        Random random = new Random();
        int recAccuracy = GetConfigByDiff.setRecAccuracy(diff);
        float x, y, h, l;
        x = y = h = l = 0;
        switch (orientation){
            case left: {
                l = recAccuracy/2; h = (2+random.nextFloat())*recAccuracy;
                x = (float) enter.getX();          y = (float) enter.getY() - h/2; }
            case right:{
                l = recAccuracy/2; h = (2+random.nextFloat())*recAccuracy;
                x = (float) enter.getX() - l;          y = (float) enter.getY() - h/2; }
            case up:   {
                l = (2+random.nextFloat())*recAccuracy; h = recAccuracy/2;
                x = (float) enter.getX() - l/2;          y = (float) enter.getY() + h; }
            case down: {
                l = (2+random.nextFloat())*recAccuracy; h = recAccuracy/2;
                x = (float) enter.getX() - l/2;          y = (float) enter.getY(); }
        }
        new Obstacle(Math.round(x), Math.round(y), Math.round(l)+1, Math.round(h)+1);
//		System.out.println("Obs: "+Math.round(x) + Math.round(y));
    }