Add Timer.onend().
Add EventDispatcher.
Convert Player to EventDispatcher.
Convert Frame and Timer to EventDispatcher.