You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...?
The text was updated successfully, but these errors were encountered:
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.
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;The text was updated successfully, but these errors were encountered: