Dispatch Events Code Example

This is the code example for dispatching events for the platform game tutorial