 
 import QuartzCore
 
-public enum YapAnimatorState {
+fileprivate enum YapAnimatorState {
 	/// The `YapAnimator` is at rest
 	case possible
 	/// The `YapAnimator` has just requested that it be updated.

			case .began:
				willBegin(self)
			case .updated:
				action(self)
			case .completed:
				completion(self, true)
			case .cancelled:
				completion(self, false)
			}
			observer?.didChangeState(animator: self)


	fileprivate var action: (YapAnimator) -> Void

	fileprivate var completion: (YapAnimator, _ finished: Bool) -> Void

	fileprivate var targetedAction: (YapAnimator) -> Void = { _ in }

	fileprivate var targetedCompletion: (YapAnimator, _ finished: Bool) -> Void = { _ in }

	fileprivate weak var observer: YapAnimatorObserver?

