Searched refs:animationState (Results 1 – 1 of 1) sorted by relevance
1 var animationState = {}; variable2 animationState.reset = function (engine) {28 if (animationState.paused) {31 if (animationState.start == null) {32 animationState.start = now - animationState.time;34 animationState.time = now - animationState.start;36 … for (var index = animationState.timelineIndex; index < animationState.timeline.length; ++index) {37 var animation = animationState.timeline[index];38 if (animation.time > animationState.time) {42 if (animation.time + animation.duration < animationState.time) {[all …]