@Override
    public void update(long currentTime) {
        super.update(currentTime);

        if (needsAnimated) {
            animateComponents();
            needsAnimated = false;
            needsAligned = false;
        }
        else if (needsAligned) {
            alignComponents();
            needsAligned = false;
        }
    }