 }
 
 
-public typealias TapAction = (location: Point, state: UIGestureRecognizerState) -> ()
+public typealias TapAction = (locations: [Point], center: Point, state: UIGestureRecognizerState) -> ()
 
 extension UITapGestureRecognizer {
     /// The closure to call when there is a gesture event.

}


public typealias LongPressAction = (location: Point, state: UIGestureRecognizerState) -> ()

extension UILongPressGestureRecognizer {
    /// The closure to call when there is a gesture event.

            self.action = action
        }
            func handleGesture(gestureRecognizer: UISwipeGestureRecognizer) {
                var locations = [Point]()
                for i in 0..<gestureRecognizer.numberOfTouches() {
                    locations.append(Point(gestureRecognizer.locationOfTouch(i, inView: gestureRecognizer.referenceView)))
                }
                action(locations: locations, center: gestureRecognizer.location, state: gestureRecognizer.state, direction: gestureRecognizer.direction)
        }
    }
}
