/** * Set the values attached to each of the {@link Animator}s using the given interpolant. * * @param interpolant A value between 0 and 1. */ protected void setImpl(double interpolant) { boolean allStopped = true; for (Animator a : animators) { if (a != null) { if (a.hasNext()) { allStopped = false; a.set(interpolant); } } } if (allStopped) { this.stop(); } }