PrimaryFeather/Starling-Framework — pull request #242 by tconkling (2013-01-01 23:16:36+00:00)
Title: Separate Touch processing from dispatching

Hey Daniel, here's the pull request with my minor refactor of TouchProcessor. This essentially breaks TouchProcessor into two different classes: TouchProcessor, which creates Touch objects, and TouchDispatcher, which implements a new TouchHandler interface and does the TouchEvent creation and dispatching.

Starling's default behavior and API are unchanged. There's a new property on the Starling class, 'touchHandler', which allows user code to install its own TouchHandler object and perform custom Touch input processing.

I've tested this code against the Starling demos and unit tests.