public void updateButtons(int discardAmount, int totalAmount, ResourceType resource){
		if(totalDiscardSelected == totalResources/2){
			if(discardAmount < totalAmount){
				if(discardAmount == 0){
					discardView.setResourceAmountChangeEnabled(resource, false, false);
				}
				else{				
					discardView.setResourceAmountChangeEnabled(resource, false, true);
				}
			}
			else{
				if(discardAmount == 0){
					discardView.setResourceAmountChangeEnabled(resource, false, false);
				}
				else{
					discardView.setResourceAmountChangeEnabled(resource, false, true);
				}
			}
		}
		else{
			if(discardAmount < totalAmount){
				if(discardAmount == 0){
					discardView.setResourceAmountChangeEnabled(resource, true, false);
				}
				else{				
					discardView.setResourceAmountChangeEnabled(resource, true, true);
				}
			}
			else{
				if(discardAmount == 0){
					discardView.setResourceAmountChangeEnabled(resource, false, false);
				}
				else{
					discardView.setResourceAmountChangeEnabled(resource, false, true);
				}
			}
		}
	}