private void uiAct(){
        if (selectedTower != null && refreshUi){
            refreshUi = false;
            ui.setTowerData (selectedTower);
            ui.changeUi (3);
            drawArrow (true);
            if (r != null)
            {
                removeObject(r);
            }
            showRange(selectedTower.getRange(), true);                    
        }
    }