void IUpdatableManager.update() { _isUpdating = true; // loop backwards so we can remove completed tweens for (var i = _activeTweens.length - 1; i >= 0; --i) { var tween = _activeTweens.buffer[i]; if (tween.tick()) { _tempTweens.add(tween); } } _isUpdating = false; // kill the dead Tweens for (var i = 0; i < _tempTweens.length; i++) { _tempTweens.buffer[i].recycleSelf(); _activeTweens.remove(_tempTweens[i]); } _tempTweens.clear(); }
/// <summary> /// removes all Particles and Constraints from the Composite /// </summary> public void removeAll() { particles.clear(); _constraints.clear(); }
/// <summary> /// resets the bezier removing all points /// </summary> public void reset() { _points.clear(); }