public void notifyObservers_for_selected_shape(int value) { for (Observer obs : observers) { obs.updateSelectShape(value); } }
private void notifyObservers() { for (Observer obs : observers) { obs.update(cpt); } }