public void setButtonsWRTSelection(SelectionManager selectionManager) {
		if(selectionManager.isBuilding()) {
			Building selectedBuilding = (Building)selectionManager.getFirst();
			for(Unit unit : selectedBuilding.getProductionUnits()) {
				System.out.println("update!");
				addButton(new ProductionButton(unit));
			}
		} else {
			
		}
		repaint();
	}