public void act(){
        if (selected){
            selected = false;
            if (hoverCounter >= 50){
                map.hm.setData (this);
                int[] co = setCo();
                map.addObject (map.hm, co[0], co[1]);
            }
        }
        updateImg();
        this.setImage (bg);        
    }