private void setSelectedCardComponent(CardComponent component) {
        if (component == selectedCardComponent) {
            return;
        }
        if (component != null) {
            component.setColor(ProjUtils.saturate(component.getTrueColor(), 0.25f), true);
        }
        else {
            selectedCardComponent.animateColor(new RGBColorAnimation(500, Animation.PACE_LINEAR, false, selectedCardComponent.getColor(), selectedCardComponent.getTrueColor(), true));
        }
        selectedCardComponent = component;
    }