Skip to content
New issue

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

Do something more interesting with events #95

Open
GGAlanSmithee opened this issue Aug 22, 2018 · 1 comment
Open

Do something more interesting with events #95

GGAlanSmithee opened this issue Aug 22, 2018 · 1 comment

Comments

@GGAlanSmithee
Copy link
Owner

For now, then EventHandler is nothing more than a generic event handler / emitter. This works fine, but we can probably do something more interesting, such as;

  • directly emitting events from an entity
  • listen to events based on components
  • more...?
@GGAlanSmithee
Copy link
Owner Author

note: JS is more or less built around events, eventloops and callbacks. In the light of this, it feels a bit weird to maintain our own event solution. We should explore using / extending the language-built in event functionality, alternatively look for a third-party solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant