Add an Event System
CryZe opened this issue · comments
For features like saving on reset, the server synchronization protocol, and asking whether to save the best segments when resetting, we need an event system. I locally already have a small prototype where the hotkey system and the auto splitting runtime just forward their events to a trait instead of the timer directly. The timer implements the trait, but the UI usually would implement it by itself to decide on how to handle / forward them.