We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an event manager with subscriber-receiver model as seen in entityx. Add base Event object
EventManager class should have:
subscribe
emit
Only problem with the idea of subscribe method being something like: subscribe<T extends Event>(event: T, handler: Function) Is the whole binding issue in JS when it comes to classes. Idk if this is solved with ES6? e.g. https://github.com/hak33m16/ladder/blob/master/src/systems/RenderSystem.js#L44
subscribe<T extends Event>(event: T, handler: Function)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add an event manager with subscriber-receiver model as seen in entityx. Add base Event object
EventManager class should have:
subscribe
method that allows users to subscribe a function to a particular eventemit
method that allows users to emit events of any typeOnly problem with the idea of subscribe method being something like:
subscribe<T extends Event>(event: T, handler: Function)
Is the whole binding issue in JS when it comes to classes. Idk if this is solved with ES6? e.g. https://github.com/hak33m16/ladder/blob/master/src/systems/RenderSystem.js#L44
The text was updated successfully, but these errors were encountered: