Today the events are binded to core.GenericWindow, that is, to the Window/terminal it self.
This is not much practical if we have many game states.
So the idea is that you can bind the events to different scenes, so when you switch the scene the binds are "updated".
"Automatic binds" like "ESC" must be made ate scene level
The new schema (in json, just to have an idea) could be:
Today the events are binded to
core.GenericWindow
, that is, to the Window/terminal it self. This is not much practical if we have many game states. So the idea is that you can bind the events to different scenes, so when you switch the scene the binds are "updated"."Automatic binds" like "ESC" must be made ate scene level
The new schema (in json, just to have an idea) could be: