public void act(){
        if (show){
            if (counter >= 2){
                counter = 0;
                trans -= 30;
                if (trans >= 0){
                    bg.setTransparency (trans);
                }
                else{
                    m.removeObject (this);
                }
            }
            else{
                counter++;
            }
            this.setImage (bg);
        }else{
            this.setImage (blank);
        }
    }