Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now event handlers can decide which handler will handle the next event. This change simplifies logic to decide who should be handling events by removing a unique, global, point of coordination that was not working well on some situations (e.g. the container menu) and it was quite fragile. It is also easier now to decide what is going to be shown on the screen. A thing that still needs to be solved is how to write unit tests for event handlers. It would also be good to find a design that will allow to get rid of global variables.
- Loading branch information
Showing
21 changed files
with
1,197 additions
and
1,019 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.