void CCLayerAnimationControllerImpl::animate(double frameBeginTimeSecs) { startAnimationsWaitingForNextTick(frameBeginTimeSecs); startAnimationsWaitingForStartTime(frameBeginTimeSecs); startAnimationsWaitingForTargetAvailability(frameBeginTimeSecs); resolveConflicts(frameBeginTimeSecs); tickAnimations(frameBeginTimeSecs); purgeFinishedAnimations(); startAnimationsWaitingForTargetAvailability(frameBeginTimeSecs); }
void CCLayerAnimationController::animate(double monotonicTime, CCAnimationEventsVector* events) { startAnimationsWaitingForNextTick(monotonicTime, events); startAnimationsWaitingForStartTime(monotonicTime, events); startAnimationsWaitingForTargetAvailability(monotonicTime, events); resolveConflicts(monotonicTime); tickAnimations(monotonicTime); purgeFinishedAnimations(monotonicTime, events); startAnimationsWaitingForTargetAvailability(monotonicTime, events); }
void CCLayerAnimationController::animateForReal(double monotonicTime, CCAnimationEventsVector* events) { startAnimationsWaitingForExtraTick(monotonicTime, events); startAnimationsWaitingForNextTick(monotonicTime, events); startAnimationsWaitingForStartTime(monotonicTime, events); startAnimationsWaitingForTargetAvailability(monotonicTime, events); resolveConflicts(monotonicTime); tickAnimations(monotonicTime, m_client, true); markAnimationsForDeletion(monotonicTime); startAnimationsWaitingForTargetAvailability(monotonicTime, events); }